🌍 Public
Viewing a saved revision (read-only)
8c49383e461645f89d16d15729ca59ab
ICE-6 Anusha Anumula
This example shows the top 20 PS4 games ranked by North American sales using a horizontal bar chart, with bars representing European sales percentages. The visualization uses React for component structure and D3 v5 for data loading and scales, specifically `csv` for parsing the dataset and `scaleBand` and `scaleLinear` for positioning. SVG rectangles render the bars, with grid lines and tick labels generated manually from the linear scale. Data comes from a CSV hosted on GitHub gists, and the visualization updates reactively once the data loads.
AI-generated descriptionA demonstration of how to start using D3 version 6.