ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 8, 2023
Created on Mar 8, 2023
This example displays the top 20 movies from an IMDB dataset as a horizontal bar chart, where bar length encodes movie rank and each bar is labeled with its numeric rank. Built with React for component state and rendering, it uses D3 v5 APIs such as `csv` for data loading, `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and manual SVG elements for axes and grid lines. The chart updates reactively after the CSV is fetched asynchronously.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed