Skip to main content
100%

ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public
Aaashrithd4
Last edited Mar 6, 2022
Created on Mar 5, 2022
Forked from HTML Starter

This example visualizes a horizontal bar chart of the top 20 anime entries from a CSV dataset, using animated bar lengths to represent anime IDs. It renders SVG marks with React components, while D3 v5 utilities handle data loading via `d3.csv`, scales with `scaleBand` and `scaleLinear`, and axis generation through `axisLeft` and `axisBottom`. The chart includes custom tick marks and labels for both axes, with bars positioned using the y-scale’s bandwidth and sized by the x-scale’s linear range.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes