Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Q4 Sadvik

Public visualization

ICE-7 Q4 Sadvik

0 stars0🌍 Public
SSadvik
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from D3 Starter

This area chart shows the average electric vehicle range by model year from 2015 to 2020, with a light blue filled region and an overlaid blue line tracing the upward trend. The visualization aggregates raw per-year data points into yearly averages using `d3.rollup` with `d3.mean`, then renders the result as an SVG path via `d3.area` and `d3.line`. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while linear scales (`d3.scaleLinear`) map the data domain to pixel coordinates within a fixed viewBox.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed