Skip to main content
100%

rak

✓ Published0🌍 Public
RRakshithaRao27
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example visualizes the top 10 most populous countries using a horizontal bar chart. It loads CSV data from a GitHub gist, parses the ’2018’ column, and displays the top 10 entries with D3 scales for positioning. The chart is built with React and renders SVG elements, using `scaleBand` for the y-axis categories and `scaleLinear` for the x-axis values. Axes are manually generated by mapping over tick values, with bars drawn as SVG rectangles.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes