Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cat smiley

Public visualization

Fork of Cat smiley

0 stars2🌍 Public
Rreddysushma994@gmail.com
Last edited Mar 20, 2024
Created on Feb 26, 2024
Forked from Cat smiley

This example displays a horizontal bar chart of the top ten students by height, sourced from a CSV file loaded with `d3.csv`. The visualization uses React to manage state and render an SVG, while D3’s `scaleBand` and `scaleLinear` position the bars and axes. Axis ticks and gridlines are generated with `xScale.ticks()`, and each bar is a styled `rect` element. The chart updates asynchronously after data loads, showing a loading message until then.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed