Fork of Data visualization ICE-6: Rendering Marks and Channels with React & D3
✓ Published1🌍 Public
RRohithReddy-thoughts
Last edited Mar 29, 2022
Created on Mar 29, 2022
This example shows the top 10 most liked companies for cryptocurrency based on sentiment analysis data from a CSV file, rendered as a horizontal bar chart using React and D3. The chart uses SVG marks with `rect` elements, scaled by `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis, with axis ticks generated from D3’s scale methods. Data is loaded asynchronously via `d3.csv`, sorted to the top 10 entries, and displayed with a custom title and styling in a React component.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed