ICE-6: Rendering Marks and Channels with React & D3_Ramakanth
✓ Published4🌍 Public
RRamakanth771
Last edited Mar 7, 2022
Created on Mar 5, 2022
This visualization displays the top 10 highest-grossing films in USD using horizontal bars rendered as SVG rectangles. The React component loads CSV data via d3.csv, then uses d3.scaleBand for the y-axis film labels and d3.scaleLinear for the x-axis gross values. Ticks and axis labels are generated from xScale.ticks(). The bar chart updates asynchronously, showing a loading state until data arrives.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed