Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

area chart

Public visualization

Viewing a saved revision (read-only)

3c71c767bc2f4f0faa901073c25e8435

area chart

0 stars0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 14, 2024
Created on Apr 13, 2024
Forked from Fork of area chart

This area chart visualizes monthly sales data from a hardcoded JavaScript array. The chart uses a steelblue filled path to represent the area under the line, with the x-axis mapping months and the y-axis scaling linearly from zero to the maximum sales value. Built with D3 v6, the visualization employs `d3.scaleBand`, `d3.scaleLinear`, and `d3.area` to generate the SVG path, while `d3.axisBottom` and `d3.axisLeft` render the axes. The SVG output is fixed at 600 by 400 pixels within the HTML page.

AI-generated description