Skip to main content
100%

Bar chart

✓ Published0🌍 Public
KKams2015
Last edited Jul 13, 2020
Created on Jul 10, 2020

A horizontal bar chart displays Olympic medal counts for ten countries, sourced from data.csv. Using the React framework and D3 v5, the visualization maps medal counts to bar widths via a linear scale and country names to vertical positions via a band scale. The SVG rendering includes axes created with axisLeft and axisBottom, with bars styled as rect elements. Data is loaded and parsed asynchronously with csv, converting medalCount values to numbers for quantitative scaling.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes