Skip to main content
100%

raorakhi

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

This example displays a horizontal bar chart of the top 10 most populous countries in 2019, using a dataset loaded from a CSV file. The visualization is built with React and D3 v5, where React manages the component state and rendering, while D3 handles data loading, scales, and axes. The chart uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with the bars rendered as SVG rectangles. The page includes a title and the plot within a fixed-width SVG canvas.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes