Data Visuliazation ICE-6
✓ Published0🌍 Public
VVenkata Sai Preetham
Last edited Jun 25, 2022
Created on Jun 25, 2022
This visualization displays the total career runs of the top ten cricketers from a CSV dataset, using a horizontal bar chart where bar length corresponds to each player’s runs. Loaded via `d3.csv` and rendered with React, the chart uses `d3.scaleBand` for player names on the y-axis and `d3.scaleLinear` for the run totals on the x-axis, with gridlines and tick labels generated from the linear scale. The data is filtered to the first ten rows, and the SVG is styled with a light blue fill.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed