🌍 Public
Making a Bar Chart with D3.js and SVG
This example shows a horizontal bar chart of the populations of ten countries, ordered from largest to smallest, using data from a local CSV file. The visualization renders as an SVG graphic, with the chart’s axes and bars generated through D3.js v5 functions like `scaleLinear` and `scaleBand`, and draws the axis ticks with `axisLeft` and `axisBottom`.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.