Assignment 7 Area chart
✓ Published0🌍 Public
This area chart displays movie ticket rates over the past year, with month on the x-axis and rates on the y-axis. The chart uses D3 v5’s `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to generate a smooth green filled region beneath the line. Data is loaded from a CSV file via `d3.csv`, and axes are rendered with `axisBottom` and `axisLeft`, including grid lines and custom labels. The SVG output includes a title and axis annotations, styled through external CSS.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed