Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project Brand vs. Avg Cost

Public visualization

Viewing a saved revision (read-only)

cecab81f38a645f2ab3aff0845b338cb

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