Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-6

Public visualization

Fork of ICE-6

0 stars0🌍 Public
SsreepavanKothapalli
Last edited Mar 23, 2023
Created on Mar 22, 2023

This is a bar chart of supermarket sales data, showing the unit price for the first ten product lines from a CSV file. Built with React and D3 v5, it uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and renders SVG rectangles for each bar. Data is loaded asynchronously via `d3.csv` and limited to ten entries before being displayed. The chart includes custom axes with gridlines and labels, all rendered as SVG elements within a React component.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed