Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

William_Task9_10_Area_Chart

Public visualization

Viewing a saved revision (read-only)

ec86b6e489c14b11bba33a299771229f

William_Task9_10_Area_Chart

0 stars0🌍 Public
WWilliam Nsambu
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from William_Task9_10

This example shows the total purchase stock-in values for inventory products as a filled area chart, with product IDs displayed along the x-axis. The chart uses d3.area() to generate the area path and d3.scaleLinear() for both axes, rendering in SVG. Data is loaded asynchronously from a CSV file, and x-axis labels are rotated to prevent overlap. The visualization relies on d3.axisBottom and d3.axisLeft to create the tick marks and labels.

AI-generated description