Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Marks and Channels

Public visualization

Viewing a saved revision (read-only)

d0299642239f4ee4bf52bd8fa27073c3

Marks and Channels

0 stars0🌍 Public
Ssumitradevipolina
Last edited Mar 25, 2022
Created on Mar 6, 2022
Forked from Hello VizHub

This example displays the top 5 movies by lifetime gross earnings as a horizontal bar chart, with each bar’s length encoding the numerical value. Built with React and D3 v5, it uses `d3.csv` to load the data, `scaleBand` for the categorical y-axis, and `scaleLinear` for the quantitative x-axis. The SVG rectangles are rendered directly via React, with axes drawn using custom ticks and gridlines.

AI-generated description