Electric Vehicle Adoption Trends
✓ Published0🌍 Public
This dashboard animates the adoption of electric vehicles across multiple countries, visualizing annual sales of Battery Electric Vehicles (BEV) versus Plug-in Hybrid Electric Vehicles (PHEV). It presents the data through three coordinated SVG charts: a bubble chart where bubble size encodes sales volume, a grouped bar chart comparing powertrains by year, and a heatmap showing the same data with color intensity. Interactive tooltips display precise year, powertrain, and sales figures on hover. The visualization uses D3 v7 APIs such as `d3.scaleLinear`, `d3.scaleBand`, `d3.scaleOrdinal`, `d3.scaleSqrt`, and `d3.groups` to process and render the CSV data.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed