Electric Vehicles and their charging stations are becoming increasingly popular as they are marketed as better for the environment. Due to the increase in popularity, there is interest to see if there are consumer shifts visible in data.

This time series plot visualizes the electric vehicle (EV) sales trends from 2014 to 2023 for the top three countries leading in EV sales: China, USA, and Germany. The chart highlights the growth and fluctuations in EV sales over the years, allowing for a comparative view of how these countries have evolved in their adoption of electric vehicles. This visualization provides valuable insights into the global shift towards EVs.

This bar chart displays the market share of the top electric vehicle (EV) brands, highlighting their relative contributions to the overall market. Each bar represents a brand, with the length corresponding to its percentage share. This visualization provides an at-a-glance comparison of how leading EV brands perform in terms of market presence.

As of Friday, December 13, 2024, Tesla’s market share is 49.7%.

The U.S. Department of Energy periodically collects data on the locations of EV charging stations. The map visualizes the number of charging stations per state, with values represented on a log scale for comparison. For more information on the data collection process click here

Top 5 States
State Total Stations % of Total
CA 16608 24.0
NY 4518 6.5
TX 3652 5.3
FL 3592 5.2
MA 3321 4.8

There are currently 69180 EV stations in the US

This plot visualizes the percentage of new cars being produced as electric vehicles. It compares countries around the world to analyze the difference in their production. By comparing these trends, we can better understand the market potential and opportunities for EV adoption globally.

The choropleth plots show the correlation between the median adjusted gross income and percentage of vehicles that are electric in California counties. Adjusted gross income data was downloaded from California Open Data Portal and vehicle type data was downloaded from Data.gov.

The percentage of electric vehicles owned appears correlated to the adjusted gross income in a county.

Both of these bar charts show the US electrical consumption vs the electrical demand over the years. These graphs show the rise in usage and demand from both data sets. As the demand for electric cars increases, so does the demand from the US electric grid boosting energy consumption. As time has passed, the US has been able to improve their energy efficiency, slowing down the demand.

This dashboard was created using Quarto in RStudio, and the R Language and Environment.

The datasets used to create page 2 of this dashboard were downloaded from US Department of Energy

The datasets used to create Page 4 of this dashboard were downloaded from California Open Data Portal and vehicle type data was downloaded from Data.gov.

Software Citations

Arnold J (2024). ggthemes: Extra Themes, Scales and Geoms for ‘ggplot2’. R package version 5.1.0, https://github.com/jrnold/ggthemes, https://jrnold.github.io/ggthemes/.

Bache S, Wickham H (2022). magrittr: A Forward-Pipe Operator for R. R package version 2.0.3, https://CRAN.R-project.org/package=magrittr.

Dancho M, Vaughan D (2023). tidyquant: Tidy Quantitative Financial Analysis. R package version 1.0.7, https://github.com/business-science/tidyquant.

Kunst J (2022). highcharter: A Wrapper for the ‘Highcharts’ Library. R package version 0.9.4, https://CRAN.R-project.org/package=highcharter.

Marin, E. (2023, May 12). Historic sales of Electric Vehicles. Kaggle. https://www.kaggle.com/datasets/edsonmarin/historic-sales-of-electric-vehicles

Neuwirth E (2022). RColorBrewer: ColorBrewer Palettes. R package version 1.1-3, https://CRAN.R-project.org/package=RColorBrewer.

Posit team (2024). RStudio: Integrated Development Environment for R. Posit Software, PBC, Boston, MA. URL http://www.posit.co/.

R Core Team (2024). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/.

Rinker, T. W. & Kurkiewicz, D. (2017). pacman: Package Management for R. version 0.5.0. Buffalo, New York. http://github.com/trinker/pacman

Tucker , S. (2024, July 12). Electric vehicle sales report — Q2 2024 —. Kelly Blue Book. https://www.coxautoinc.com/wp-content/uploads/2024/07/Q2-2024-Kelley-Blue-Book-Electric-Vehicle-Sales-Report.pdf

Wickham H, Averick M, Bryan J, Chang W, McGowan LD, François R, Grolemund G, Hayes A, Henry L, Hester J, Kuhn M, Pedersen TL, Miller E, Bache SM, Müller K, Ooms J, Robinson D, Seidel DP, Spinu V, Takahashi K, Vaughan D, Wilke C, Woo K, Yutani H (2019). “Welcome to the tidyverse.” Journal of Open Source Software, 4(43), 1686. doi:10.21105/joss.01686 https://doi.org/10.21105/joss.01686.

Xie Y (2024). knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.48, https://yihui.org/knitr/.

Yihui Xie (2015) Dynamic Documents with R and knitr. 2nd edition. Chapman and Hall/CRC. ISBN 978-1498716963

Yihui Xie (2014) knitr: A Comprehensive Tool for Reproducible Research in R. In Victoria Stodden, Friedrich Leisch and Roger D. Peng, editors, Implementing Reproducible Computational Research. Chapman and Hall/CRC. ISBN 978-1466561595

Zhu H (2024). kableExtra: Construct Complex Table with ‘kable’ and Pipe Syntax. R package version 1.4.0, https://github.com/haozhu233/kableExtra, http://haozhu233.github.io/kableExtra/.