Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatter plot

Public visualization

scatter plot

0 stars0🌍 Public
Sshivasai2925@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025

A horizontal bar chart displays the average price per pound for various vegetables, sourced from a CSV file containing price data. The chart renders in React, using d3.scaleBand for the categorical vegetable axis and d3.scaleLinear for the continuous price axis, with bars filled in pink. The d3.axisLeft and d3.axisBottom functions generate the chart's axes, while the data is loaded and parsed asynchronously via the d3.csv function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed