Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 8, 2023
Created on Mar 8, 2023
This bar chart visualizes the basic cost of Netflix subscriptions across fifteen countries, using horizontal bars to show each country's SCORE value. Built with React and D3 v5, the code loads CSV data from a GitHub gist and renders the visualization as an SVG. It uses `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis, with manually drawn tick marks and axis labels. Bar rectangles are generated directly from the data, mapping each country's title to the y-coordinate and its score to the bar width.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed