Skip to main content
100%

Bar graph-Praveen

✓ Published0🌍 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.

MIT Licensed

Similar vizzes