Skip to main content
Public

Share visualization

Loading preview…

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

1
Kkollirohit2000
Last edited Mar 23, 2023
Created on Mar 23, 2023
Forked from D3 Starter

This bar chart visualizes Amazon Prime’s monthly basic cost across twelve countries, retrieved from a CSV file. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map country names to horizontal bars and cost values to widths. The SVG rendering includes custom gridlines and axis ticks generated via `xScale.ticks()`, while the data is loaded asynchronously with `csv()` and sliced to the first twelve rows.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed