🌍 Public
Viewing a saved revision (read-only)
bc3645abec6046b9bfde4dbf81a7c9c0
Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3
TTejaswicmandava
Last edited Mar 25, 2023
Created on Mar 25, 2023
This bar chart shows Netflix subscription prices across different countries, plotting the number of movies available in each country against a horizontal axis. The visualization is rendered as an SVG using React components that leverage D3's `scaleBand` for the categorical country axis, `scaleLinear` for the continuous movie-count axis, and `csv` to load data from a GitHub-hosted CSV file. The code manually constructs axis ticks and gridlines, and uses `rect` elements to draw the bars.
AI-generated descriptionA demonstration of how to start using D3 version 6.