Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-VII-Q2(11713131)

Public visualization

Viewing a saved revision (read-only)

2bd79fec1a2e41b89fcf53b5f4b7f3c2

Activity-VII-Q2(11713131)

0 stars0🌍 Public
Rreachtoshasidhar07@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This area chart displays the distribution of car origins from the mpg dataset, counting vehicles per origin category. The code fetches a CSV file and aggregates rows by the origin column. Using Chart.js, it renders a line chart with filled background to create an area effect on a canvas element. The chart is configured with custom colors, a title, and a y-axis starting at zero, with responsive rendering disabled to maintain fixed dimensions.

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.