Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar graph-Praveen

Public visualization

Viewing a saved revision (read-only)

02ea3c5fe3354a70859b5992ac83c585

Bar graph-Praveen

0 stars0🌍 Public
Ppraveennayak1702@gmail.com
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from React Starter

This bar graph visualization displays cricket team wins across three years, with each team represented by a colored bar and the bar height indicating the number of wins for Year 3. The code uses D3.js v7 to load CSV data from a GitHub gist and render an SVG chart with d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and d3.scaleOrdinal with d3.schemeCategory10 to assign distinct colors to each bar. Axes include labels for "Team Name" and "Wins", with hover effects on the bars.

AI-generated description

React Starter code.