Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart Activity 8

Public visualization

Area Chart Activity 8

0 stars1🌍 Public
Iindushashi.g@gmail.com
Last edited Jul 2, 2023
Created on Jul 2, 2023

This area chart visualizes the cost of sales from 2000 to 2013, with time on the x-axis and cost on the y-axis. The chart uses D3 v5’s `scaleTime` and `scaleLinear` for axes, and `line` with `curveBasis` for the smoothed line, while `area` fills the region beneath it in light green. Data is loaded from a CSV file via D3’s `csv` function, and the SVG output includes gridlines, red tick labels, and orange axis labels.

AI-generated description

Area chart Example:

Comments

Sign in to join the discussion.

MIT Licensed