Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Area Chart

Public visualization

Viewing a saved revision (read-only)

a41b343418374ec29ed6cd8bf8f7c079

Fork of ICE 7 Area Chart

0 stars1🌍 Public
VVaishnavi6199
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE 7 Area Chart

A combined area and line chart visualizes motorcycle sales in India from 2012 to 2022, with the area fill in orange and a black line tracing the trend. The code uses d3.scaleTime and d3.scaleLinear for axes, d3.area and d3.line with curveBasis for smooth shapes, and d3.axisLeft and d3.axisBottom for gridlines. It loads CSV data from a gist with d3.csv, parses years via d3.timeParse, and renders to SVG.

AI-generated description

combined line and area charts