Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of 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 Fork of Fork of ICE-6 Bar Graph

0
TTekmal-Bhavana
Last edited Mar 15, 2023
Created on Mar 15, 2023

This bar chart displays the monthly cost of Amazon's basic service across twelve countries, with country names on the vertical axis and cost values on the horizontal axis. Built with React and D3 v5, the visualization loads CSV data from a GitHub Gist and renders as an SVG. The code uses D3's `scaleBand` and `scaleLinear` for axes, `max` for domain calculation, and `csv` for data parsing, while React's `useState` and `useEffect` manage the data loading state.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed