🌍 Public
Viewing a saved revision (read-only)
e44e49986e4f4318a8f37ae21f04bfa6
Activity 7 Question-2
This example shows a line chart, rendered as an area chart, that tracks revenue by product line across the months of October through February. The chart’s line is smoothed and filled with a translucent teal color, with values ranging from 23 to 89. It uses the Chart.js library, with the chart type set to `line` and the `fill` option enabled to create the area effect. The code initializes a canvas context via `getElementById` and configures axes to begin at zero.
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.