Skip to main content
Public

Share visualization

Loading preview…

AVN - Bar chart

vizhub.com

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

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 & exportHTML, source ZIP

AVN - Bar chart

0 stars2Public
Aavnreddy95
Last edited Jun 26, 2022
Created on Jun 21, 2022

This visualization displays the winners of the Indian Premier League (IPL) and their prize money in millions of dollars, with winning teams on the y-axis and prize amounts on the x-axis scaled from 0 to 15. The bar chart is rendered as an SVG using D3 v5, with data loaded from a CSV file via `d3.csv`. It employs `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisBottom` and `axisLeft` for the axes. The bars are drawn as `rect` elements, with numeric prize values parsed using the unary plus operator.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed