Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

rak

Public visualization

Viewing a saved revision (read-only)

0d7e0f17eead40e7802654e6f75f3a1a

rak

0 stars0🌍 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.