Skip to main content
100%

Activity 8_Task-4

✓ Published0🌍 Public
Ssaipaidipalli
Last edited Jul 5, 2023
Created on Jul 5, 2023

This area chart shows the cost of sales from 2000 to 2013, with a smooth curve and a light green filled region beneath the line. The visualization uses D3 v5’s `area()` and `line()` generators with `curveBasis` to create the path, while `scaleTime` and `scaleLinear` map the year and cost values. Axes are rendered via `axisBottom` and `axisLeft`, with tick formatting using `format('.3s')`. Data is loaded from a CSV file using `csv()`, and the SVG is positioned within a fixed 920x400 viewport.

AI-generated description

example of Area chart

MIT Licensed

Similar vizzes