Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart Data Visualization

Public visualization

Viewing a saved revision (read-only)

910198c5577b4eb2a0ea4fadbd415d6c

Area Chart Data Visualization

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

This area chart visualizes total book sales over time, using a smoothed curve to show the top selling year. The visualization plots the data from a CSV file containing book sales figures, with the area under the line filled in light blue to emphasize the trend. The code uses D3 v5’s `scaleTime`, `scaleLinear`, `line`, and `area` APIs to generate the SVG paths, with `axisBottom` and `axisLeft` for the axes. The CSV data is loaded and parsed via the `csv` function from D3.

AI-generated description

combined line and area charts