Skip to main content
Public

Share visualization

Loading preview…

Fork of ICE-6 bar graph

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of ICE-6 bar graph

2
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

Comments

Sign in to join the discussion.

MIT Licensed