Skip to main content
Public

Share visualization

Loading preview…

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

ICE-6 Bar Graph

0
Yyamunaunt
Last edited Mar 20, 2023
Created on Mar 20, 2023

This bar graph displays the cost of living across different Amazon locations, comparing the basic monthly expenses for twelve countries. The visualization uses React to manage the state of the loaded data and renders the chart as an SVG. D3’s `csv` method fetches the dataset, while `scaleBand` and `scaleLinear` position the bars and axes. The code manually constructs the axis ticks and labels using D3’s `format` and `max` functions, with red gridlines marking each tick value along the x-axis.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed