Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-6 bar graph

Public visualization

Viewing a saved revision (read-only)

d6e5fa4b2d1640b0ba0549db20e6398d

Fork of ICE-6 bar graph

0 stars2🌍 Public
Kkakumanusreya
Last edited Mar 21, 2023
Created on Mar 21, 2023

This example visualizes Amazon prices across different countries using a horizontal bar graph, displaying the top 12 countries by basic monthly cost. Each bar’s length represents the cost value, with red vertical gridlines and labeled axes for clarity. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `csv()` to load data from a GitHub gist. Bars are rendered as SVG `<rect>` elements, while axes and ticks are manually generated from the scales.

AI-generated description

A whole smiley face