Skip to content

R-CoderDotCom/R-CHARTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

 📈 R CHARTS 📉 

    Twitter    Facebook   

Index

English version

Welcome to the official repository of R CHARTS!

What is R CHARTS?

R CHARTS is a web site specialized in data visualization in R. The site contains over 1100 charts, 120 tutorials and three color tools for each language, both base R and ggplot2 graphics.

How and Who

  • This is a work by José Carlos Soage (heirenafter, the Author). Both the HUGO template and the content of the site were developed by the Author.
  • The site was generated using blogdown an R package for developing HUGO websites in R (allowing using R Markdown).
  • The development of the first public version of R CHARTS took over 6 months of hard work, whithout any kind of financial support of any company or institution. The Author decided to create the site by his own on his spare time.
  • If you want to know more about the Author check the About page.

What is in the box?

Tutorials

There are 8 main categories. Once you select one you can filter the charts based on the type of chart and the package used to create it (base R or ggplot2).

Then you can access each tutorial. You can copy and paste each code clicking on the upper right button of the code chunks, navigate through the sections with the left menu and view more related content with the carrousel of the bottom.

There are also tutorials for learning how to customize the charts, both for base R and ggplot2. The base R section has a mega menu with quick guides and accesible links. There are also two pages that contains all the tutorials for base R and all the tutorials for ggplot2.

Note that there is a live search feature to look for the tutorials. Click on the search button. You can close it clicking over the close icon or pressing ESC.

Color tools

The site contains the full list of colors available in R (the colors() function). You can copy both the HEX or the name of the color. The page also contains a color converter from HEX to RGB (use it with the rgb function) and a color picker.

There is also a page that contains almost 500 different color palettes from 16 R packages.

If you want to create you own color palette use the color palette generator (work in progress). You can also upload your own plot in SVG and change its colors for previsualization purposes.

Note that the quality of the GIFs is very low. Check the site to see the actual design.

How to contribute?

  • If you think there are important tutorials missing on the site open an issue and let me know. I have a roadmap and I know there are still many interesting charts or packages without their corresponding tutorial, but if you provide me feedback I will be able to priorize the most important tutorials. If you want to create the tutorial also open an issue asking me for the steps you will have to follow to create it with R Markdown following the format and style of the site (you will need to know HTML and CSS). I might explain the latter in this Readme in the near future so you won't have to ask.

  • If you have developed a chart that you think it can be interesting to other people or if you have developed a new R package for visualization and you think it can be interesting for the community open an issue explaining me about that visualizations and why I should consider adding it to the site. If you want me to create the tutorial of your proposal it might take some time to be available, but if you want to contribute creating the tutorial ask me for the steps to follow.

  • If you find misspelled words / wrong expressions / broken links also open an issue.

How to support this project?

If you like my projects so much you can contribute to their financial support. At this moment there are two ways to support me:

  • Placing ads on my sites. If you want to place some ads on my sites please contact me via email with your proposal to negotiate the conditions.
  • Supporting me via Buy Me a Coffee. You can also support me using this platform with a single donation or becoming a member.

Versión en español

¡Bienvenido al repositorio oficial de R CHARTS!

¿Qué es R CHARTS?

R CHARTS es una página web especializada en visualización de datos en R. El sitio contiene más de 1100 gráficos, 120 tutoriales y tres herramientas de color para cada lenguaje, tanto gráficos de R base como ggplot2.

¿Quién y cómo?

  • Este es un trabajo de José Carlos Soage (en adelante, el Autor). Tanto la plantilla de HUGO como el contenido de la página han sido desarrollados por el Autor.
  • El sitio ha sido generado con blogdown, un paquete de R para desarrollar páginas de HUGO en R (permitiendo usar R Markdown).
  • El desarrollo de la primera versión pública llevó más de 6 meses de trabajo duro, sin contar con ningún tipo de financiación de ninguna organización ni institución y ha sido decisión del Autor crearla en su tiempo libre.
  • Si quieres saber más sobre el Autor consulta la página Acerca.

¿Qué ofrece?

Tutoriales

Existen ocho grandes categorías. Una vez selecciones una puedes filtrar los gráficos en base al tipo de gráfico y el paquete usado para crearlo (R base o ggplot2).

Luego puedes acceder a cada tutorial. Puedes copiar y pegar cada bloque de código haciendo click en la zona superior derecha de los bloques, navegar a través de todas las secciones con el menú de la izquierda y consultar contenido adicional con el carrousel inferior.

También hay tutoriales para aprender a personalizar los gráficos, tanto en R base como en ggplot2. La sección de R base tiene un mega menú con guías rápidas y enlaces accesibles en cualquier momento. También hay dos páginas que contienen todos los tutoriales para R base y todos los de ggplot2.

Ten en cuenta que la web proporciona un buscador en tiempo real para buscar tutoriales. Haz click en el icono de búsqueda para abrirlo. Puedes cerrarlo haciendo click sobre el icono o presionando ESC.

Herramientas de colores

El sitio contiene la lista completa de colores disponibles en R (con la función colors()). Puedes copiar tanto la referencia HEX como el nombre del color. La página también proporciona una herramietna para convertir HEX a RGB (y usarlos con la función rgb) y un selector de colores.

También hay una página que contiene casi 500 paletas de colores de 16 paquetes de R.

Si prefieres crear tus propias paletas de color puedes usar el generador de paletas (en progreso). También puedes subir tu propio gráfico en SVG y cambiar sus colores para previsualizarlos.

Ten en cuenta que la calidad de los GIFs es muy baja. Visita el sitio web para ver el diseño en vivo

¿Cómo contrubuir?

  • Si crees que falta algún tutorial importante en el sitio abre un issue y házmelo saber. Sé que todavía hay muchos gráficos o paquetes interesantes sin su correspondiente tutorial, pero si recibo feedback podré priorizar la creación de los tutoriales más importantes. Si además quieres crear el tutorial abre un issue y pregúntame los pasos que tendrás que seguir para crearlo con R Markdown manteniendo el formato y estilo de la web (necesitas saber HTML y CSS). Puede que explique en este Readme esto último en un futuro cercano, para que no tengas que preguntar.

  • Si has desarrollado un gráfico que crees que puede ser interesante para otras personas o si has desarrollado un nuevo paquete de R para visualización y crees que puede ser interesante para la comunidad abre un issue explicándome sobre esas visualizaciones y por qué debería considerar agregarlas al sitio. Si quieres que sea yo quien cree la propuesta de tutorial seguramente tarde tiempo en estar disponible, pero si quieres contribuir creando el tutorial pregúntame por los pasos a seguir.

  • Si encuentras alguna palabra mal escrita / una expresión incorrecta / enlaces rotos también abre un issue.

¿Cómo apoyar este proyecto?

Si te encantan mis proyectos puedes contribuir a su financiación. En este momento existen dos vías para apoyarme:

  • Agregando anuncios en mis sitios. Si quieres añadir anuncios a mis páginas web contacta conmigo a través del correo electrónico con tu propuesta para negociar las condiciones.

  • Apóyame a través de Buy Me a Coffee. También puedes usar esta plataforma para apoyarme con una única donación o conviertiéndote en miembro.

About

This is the official repository of the R CHARTS site

Topics

Resources

Stars

Watchers

Forks