Skip to main content
Public

Share visualization

Loading preview…

Activity 7.1 Question 1

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 1

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

This visualization displays cricket bat sales by company as a pie chart, with each brand's sales value labeled on its corresponding slice. The chart is built using D3.js v5, fetching data from a GitHub-hosted CSV file and rendering with SVG. It employs d3.pie for slice generation, d3.arc for segment paths, and d3.scaleOrdinal for category colors, alongside a custom legend showing brand names and sales figures in thousands.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed