Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Area Chart

Public visualization

Fork of ICE 7 Area Chart

0 stars0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from ICE 7 Area Chart

This example visualizes car sales in India from 2009 to 2019 using a combined line and area chart rendered in SVG. The orange area chart highlights sales volume over time, while a black line traces the same data for clarity. It uses d3.csv to load data from a GitHub gist, d3.scaleTime and d3.scaleLinear for axes, and d3.line and d3.area with curveBasis to generate the smooth paths. Axis labels and gridlines are styled via CSS.

AI-generated description

combined line and area charts

Comments

Sign in to join the discussion.

MIT Licensed