Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sports List

Public visualization

Viewing a saved revision (read-only)

6bb0d36d8aac4b01b55e8e264c921b67

Fork of Sports List

0 stars0🌍 Public
NNaimisha-M
Last edited Jun 24, 2022
Created on Jun 24, 2022
Forked from Sports List

This visualization presents a bar chart of the most famous sports in 2021, using horizontal bars ordered by rank to display the number of matches for each sport. It loads data from a CSV file via `d3.csv` and renders the chart with React, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The SVG output includes grid lines and axis tick labels generated by D3’s scale methods, with bars filled in purple.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.