Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7_Q2

Public visualization

Viewing a saved revision (read-only)

6413fbd1757d447dafdc263df3719a59

Activity 7_Q2

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

This area chart visualizes the number of matches played by cricketer MS Dhoni over time. The chart uses an x-axis for the year and a y-axis for the match count, with a smoothed, red-filled area beneath a black line. The visualization is built with D3 v5, using functions like `scaleLinear`, `scaleTime`, `axisBottom`, `axisLeft`, `line`, and `area` to render the SVG. Data is loaded from a remote CSV file containing yearly match statistics.

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.