🌍 Public
ques2-task9
This area chart shows the number of iPhone users per year, with a smoothed line and a filled area beneath it to emphasize the trend. The visualization is rendered as an SVG using D3 v5, and relies on the `d3` API to load and parse CSV data from a remote gist. It constructs linear scales for both axes, and uses `line`, `area`, and `curveBasis` to generate the chart’s paths, with custom tick formatting for the y-axis.
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
Comments
Sign in to join the discussion.