Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
This example shows the cost of Netflix in 15 different countries as a horizontal bar chart, ranked on the y-axis, with bar lengths encoding the movie_name value. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data to SVG rectangles, with axes drawn manually via `.ticks()`. The data comes from a CSV file loaded using `d3.csv`, and the chart renders bars and tick labels entirely as SVG elements within a React component.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed