Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6

Public visualization

ICE-6

0 stars0🌍 Public
Mmosesimmanuelvemana@my.unt.edu
Last edited Mar 12, 2023
Created on Mar 11, 2023

This example displays Walmart sales figures for 15 U.S. cities using a horizontal bar chart rendered as SVG. It loads data from a CSV file via `d3.csv`, maps sales values to bar widths with `d3.scaleLinear`, and positions city labels using `d3.scaleBand`. Gridlines and tick labels are generated from the x-scale’s ticks. The visualization is built with React components and D3 v5, where axes are manually drawn using SVG elements rather than D3’s axis helpers.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed