Skip to main content
Public

Share visualization

Loading preview…

Activity 7.1 Question 2

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity 7.1 Question 2

0
BBharath Vupputuri
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This area chart displays the batting average of Indian cricketer MS Dhoni in One Day Internationals from 2010 to 2019. The chart uses a steel-blue filled area to show the trend over time, with the year on the x-axis and the average on the y-axis. The code builds the visualization using the D3.js library (v7), specifically employing `scaleTime`, `scaleLinear`, `area`, `axisBottom`, and `axisLeft` to construct the scales, area path, and axes. Data is loaded from a CSV file hosted on GitHub, and the chart is rendered as an SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed