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
Bbhanuteja1807@gmail.com
Last edited Mar 24, 2023
Created on Mar 24, 2023

This bar chart shows the monthly basic cost of Amazon services across twelve countries, with countries listed vertically and costs plotted horizontally on a red-tinted grid. The visualization loads CSV data from a GitHub gist using D3’s `csv` method and React hooks (`useState`, `useEffect`) to fetch and store the dataset. D3 scales (`scaleBand` and `scaleLinear`) position the bars, while SVG rectangles and manually rendered tick labels—instead of D3 axes—draw the chart. The React app renders the final SVG, with the data truncated to the first twelve rows for display.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed