Skip to main content
Public

Share visualization

Loading preview…

bindu_ICE6

vizhub.com

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

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

bindu_ICE6

0 stars0Public
Bbindusreeja
Last edited Jun 26, 2022
Created on Jun 26, 2022

This example shows a horizontal bar chart of carbon dioxide emissions in thousand metric tonnes for the top ten states in 2019. The chart displays the data using SVG rectangles, with state names on the y-axis and emissions values on the x-axis. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for scales and `csv` to load data from a GitHub gist. Grid lines are generated from `xScale.ticks()`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed