Skip to main content
100%

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

✓ Published0🌍 Public
Kkalyanikotha
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example displays a horizontal bar chart of laptop sales for the top ten companies, rendered as SVG elements using React. The code loads CSV data with `d3.csv`, scales values with `d3.scaleBand` and `d3.scaleLinear`, and manually creates axis ticks and gridlines. The bars and labels are generated as React components, with styling applied via CSS in the HTML file.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes