Skip to main content
100%

Fork of ICE-6 Creating Marks And Channels

✓ Published0🌍 Public
NNavaneeth-Ragi
Last edited Mar 8, 2023
Created on Mar 8, 2023

This example visualizes the marks scored by students against the time they invested in studying. It displays a bar chart with horizontal rectangles representing each student's marks, scaled linearly along the x-axis, while the y-axis uses a band scale for time study categories. The code uses React with hooks (useState, useEffect) to load and parse CSV data, and D3 v5 APIs including scaleBand, scaleLinear, and csv for data fetching. The SVG is rendered via React elements, with grid lines and axis ticks generated using D3's max and format utilities. The visualization includes the top 15 records from the dataset.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes