Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE_6_Bar_Graph

Public visualization

Viewing a saved revision (read-only)

bec73c7da6ec4db8862939f09870ab60

ICE_6_Bar_Graph

0 stars0🌍 Public
Nnikhilagopi
Last edited Mar 21, 2023
Created on Mar 21, 2023

This example visualizes the average monthly cost of basic internet service across twelve countries using a horizontal bar chart, with country names on the y-axis and cost in dollars on the x-axis. The React component loads CSV data via `d3.csv` and renders the chart as an SVG, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Red gridlines, generated from the x-axis ticks, extend across the plot area, while each bar’s width reflects the data value. The visualization omits axis labels and tooltips, keeping the focus on comparing costs directly from the raw data source.

AI-generated description

A whole smiley face