Fork of company List
✓ Published1🌍 Public
This example visualizes the most famous sports of 2021 using a horizontal bar chart. The chart displays the number of matches for each sport, with sports ordered alphabetically along the vertical axis and match counts on the horizontal axis. The code uses D3 v5 utilities like scaleBand, scaleLinear, and max to create the scales, while CSV data is loaded via d3.csv. The visualization is rendered as SVG elements within a React component using the react and react-dom libraries, with purple bars representing each sport's match count.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed