Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

1ec0da88ddaf42db92439a7c9e591446

Untitled

0 stars0🌍 Public
Aakhil kata
Last edited Jun 26, 2022
Created on Jun 26, 2022

This example shows the number of matches for the top 11 sports in 2021 as horizontal bars, using a bar chart layout. The visualization uses React with d3-scale functions (scaleBand, scaleLinear) to map data to positions and sizes, and renders SVG elements directly. Data is loaded from a CSV file via d3.csv. The chart includes axis ticks generated manually, with bars filled in purple and axis lines in blue.

AI-generated description

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

See also React Starter.