Fork of CSCE 5320 ASSIGNMENT 2 QUESTION 2
✓ Published1🌍 Public
An area chart visualizes nuclear energy usage from 2010 to 2020, plotting year against quantity. The chart uses D3 v5 with SVG rendering, employing `scaleTime`, `scaleLinear`, `line` and `area` generators with `curveBasis` for smooth paths. Data is loaded from a CSV file via `d3.csv` and parsed using `d3.timeParse`. Axis labels and tick formatting are customized, and the chart includes gridlines derived from axis ticks.
AI-generated descriptionMIT Licensed