Skip to main content
100%

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

✓ Published0🌍 Public
SSyed Araib Karim
Last edited Mar 7, 2022
Created on Mar 7, 2022

This visualization shows the top 10 products sold in a store as a horizontal bar chart. React manages the component state and rendering, while D3 provides the data loading, scales, and axis utilities. The chart uses `d3.csv` to fetch sales data, `scaleBand` for the categorical y-axis, and `scaleLinear` for the numeric x-axis. React renders SVG rectangles, gridlines, and text labels directly, with the data limited to the first 10 records.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes