Activity 7_Q2
✓ Published0🌍 Public
This example visualizes company revenue over time as a filled area chart, with the area rendered in steel blue and axes labeled for Year and Revenue (in millions). It loads CSV data from a GitHub gist and parses the values into numeric format. The chart uses D3 v6’s `scaleLinear`, `extent`, `max`, `area`, and `axisBottom`/`axisLeft` APIs to generate the SVG, with a custom title and axis labels appended as text elements.
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