Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar bar

Public visualization

Viewing a saved revision (read-only)

1cbc5638eea74520a9e59980911f4d4b

Bar bar

0 stars0🌍 Public
Mmeangreen0067@gmail.com
Last edited Mar 11, 2026
Created on Mar 11, 2026

This dashboard visualizes Washington State electric vehicle adoption, showing average electric range trends over time for battery and plug-in hybrid vehicles, and vehicle distribution by county. It uses D3.js v5 to render SVG charts from CSV data, employing `d3.csv` for parsing and `d3.scaleLinear` for axes. A multi-series line chart and a combined bar and line chart include interactive tooltips and custom color schemes, with data grouped and averaged per year and county.

AI-generated description

Washington State Electric Vehicles 3D Dashboard

A 3D bar chart visualization showing average electric range for electric vehicles by county and type using D3.js and X3DOM.

Features

  • Loads electric vehicle data from CSV
  • 3D bar chart visualization
  • Multi-series data display (BEV vs PHEV)
  • Automatic data aggregation and averaging
  • Error handling and loading states

Data Source

The chart reads from Assignment6.csv containing:

  • County: Washington State county name
  • Electric Vehicle Type: BEV (Battery Electric Vehicle) or PHEV (Plug-in Hybrid Electric Vehicle)
  • Electric Range: Range in miles

The visualization groups vehicles by county and calculates the average electric range for each vehicle type.

Data Processing

  • Groups vehicles by County
  • Calculates average electric range for BEV and PHEV separately
  • Displays results in a 3D multi-series bar chart

Requirements

  • Modern web browser with WebGL support
  • CSV file (Assignment6.csv) in the same directory as index.html
  • Internet connection (loads D3.js, X3DOM from CDN)

Usage

  1. Place Assignment6.csv in the same directory as index.html
  2. Open index.html in a web browser to view the dashboard

Libraries Used

Data Insights

  • BEV vehicles (Battery Electric) typically have longer ranges (150-320 miles)
  • PHEV vehicles (Plug-in Hybrid) have shorter electric-only ranges (13-97 miles)
  • King County has the highest EV adoption in the dataset