Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6:Sai Meghana

Public visualization

ICE-6:Sai Meghana

0 stars1🌍 Public
Eeravellisaimeghana
Last edited Mar 8, 2022
Created on Mar 8, 2022

This example shows a horizontal bar chart of the top 7 SUV cars ranked by price, with each bar labeled by car name and value. The visualization uses React to manage the component state and render SVG elements, while D3 v5 provides scales and data loading through `d3.csv` and `d3.scaleBand`/`d3.scaleLinear`. Data comes from a CSV file of car prices, filtered to the first 10 entries, with grid lines and tick labels generated from `xScale.ticks()`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed