Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Project Brand vs. Avg Cost

Public visualization

Project Brand vs. Avg Cost

0 stars0๐ŸŒ Public
Cchsaisriharsha@gmail.com
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Stylized Bar Chart

This bar chart compares the average cost (x-axis) across various smartphone brands (y-axis), using data from a CSV file loaded with d3.csv. The visualization sorts the data by price and displays the top 500 entries as horizontal bars rendered as SVG `<rect>` elements via React. Axes are built using d3.scaleBand and d3.scaleLinear, with tick labels formatted using d3.format. Hovering over a bar reveals its precise value through an SVG `<title>` tooltip.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed