Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

8a79320fe76844749a69a94bc47866b5

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

0 stars0🌍 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.