Skip to main content
100%

ICE-6 : Rendering Marks and Channels with react and D3

✓ Published0🌍 Public
HHarshinireddyy19
Last edited Jun 24, 2022
Created on Jun 24, 2022
Forked from HTML Starter

This example renders a bar chart of student marks using React and D3 v5. It uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with React’s `useState` for data management. The visualization maps each student’s total marks to bar height, using color as an additional channel to distinguish data categories. The code creates SVG elements dynamically through React’s rendering system while leveraging D3’s scale functions for layout and positioning.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes