Skip to main content
100%

Fork of Fork of ICE-6 Bar Graph

✓ Published67🌍 Public
MMgk1255
Last edited Mar 8, 2023
Created on Mar 8, 2023

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

MIT Licensed

Similar vizzes