Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE-6 Bar Graph

Public visualization

Viewing a saved revision (read-only)

26955f3dbcd14dcc944163f062417d44

Fork of Fork of ICE-6 Bar Graph

0 stars1🌍 Public
MMgk1255
Last edited Jun 24, 2022
Created on Jun 24, 2022

This visualization shows Amazon prices for basic monthly service across different states, using a horizontal bar chart to compare costs. The chart displays twelve states ranked by their cost per month, with bars extending from a shared origin. Built with React and D3 v5, the code uses `d3.csv` to load data from a GitHub gist, then applies `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the continuous x-axis. React state manages the asynchronous data loading, while SVG rectangles render the bars with gridlines and axis labels generated via D3’s tick functions.

AI-generated description

A whole smiley face