Skip to main content
100%

Area chart

✓ Published0🌍 Public
Ssridhardubala106@gmail.com
Last edited Mar 28, 2024
Created on Mar 27, 2024

This area chart displays the number of visitors for five selected U.S. states (California, Texas, Florida, New York, Illinois) from 2011 to 2021. The visualization fetches comma-separated data via d3.text and parses it into an array of objects. Using d3.area with a monotone X curve, it draws semi-transparent filled paths for each state, color-coded via d3.scaleOrdinal with d3.schemeCategory10. The SVG rendering includes linear scales for axes, a legend, and both axis labels, all positioned within defined margins.

AI-generated description
MIT Licensed

Similar vizzes