Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

a44de59831934b9d916d1dc2234aabc8

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

0 stars1🌍 Public
AArefa Patwary
Last edited Mar 7, 2022
Created on Mar 7, 2022

This bar chart displays the best-selling books data from a CSV file, showing book categories and their population values. The visualization uses React with hooks for state management and data loading via D3’s `csv` function, then renders bars as SVG rectangles using D3’s `scaleBand` and `scaleLinear` for axes and positioning. Tick marks, axis lines, and labels are manually generated in JSX, with D3’s `max` and `format` utilities supporting the scale domain calculations.

AI-generated description

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

See also React Starter.