Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 Public
HHarshinireddyy19
Last edited Jun 24, 2022
Created on Jun 23, 2022
Forked from HTML Starter

This example displays a bar chart of student scores from a CSV file, using React to manage state and D3 to render SVG marks. The horizontal bars encode each student's amount through length, with categorical names on the y-axis and a linear scale for values on the x-axis. The code uses `d3.csv`, `scaleBand`, and `scaleLinear`, along with `axisLeft` and `axisBottom` for ticks. React’s `useState` and `useEffect` load and transform the data, while `ReactDOM.render` mounts the visualization.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed