Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart Activity 8

Public visualization

Viewing a saved revision (read-only)

38b7a79ca31b434db48e50d71a9a3320

Area Chart Activity 8

0 stars0🌍 Public
Hharipriyaa07
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This area chart visualizes the cost of sales from 2000 to 2013, using a smooth basis curve to connect the data points and a light green fill beneath the line to emphasize the magnitude of values over time. The chart renders as an SVG using D3 v5, with scaled time and linear axes, and includes rotated orange axis labels for clarity. Data is loaded from a remote CSV file, and the code employs d3’s `area`, `line`, `scaleTime`, and `scaleLinear` functions to generate the visualization.

AI-generated description

example of Area chart