Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published1🌍 Public
Kkranthireddyskr
Last edited Mar 7, 2022
Created on Mar 7, 2022
This example shows a bar chart comparing laptop sales across ten companies, using a dataset loaded from a CSV file. The visualization uses React to render SVG elements and D3 to handle data loading and scales, specifically `csv`, `scaleBand`, `scaleLinear`, and `max` from d3. The chart displays horizontal bars with company names on the y-axis and sales values on the x-axis, including custom tick marks and gridlines styled with CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed