Skip to main content
100%

Activity 7 Q2

✓ Published0🌍 Public
Ssumithdugyala@my.unt.edu
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This area chart visualizes the sales of Apple mobile devices from 2009 to 2019. The D3 v5 code creates a smooth, curved line and fills the area beneath it, with labeled axes and gridlines. The visualization loads data from a CSV file, which is parsed and formatted to extract the year and convert sales values to numbers. Using the `d3.area` and `d3.line` generators, the chart is rendered as an SVG, with time-based scaling for the x-axis and linear scaling for the y-axis.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes