Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Question-2

Public visualization

Viewing a saved revision (read-only)

e44e49986e4f4318a8f37ae21f04bfa6

Activity 7 Question-2

0 stars0🌍 Public
Ssathvikavancha@my.unt.edu
Last edited Nov 6, 2024
Created on Nov 6, 2024

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 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.