🌍 Public
Viewing a saved revision (read-only)
afdb24757cdd4fe082a882e764465237
DV Group 2
This example shows the diameters of the eight planets and Pluto as horizontal bars, sorted from largest to smallest, using an SVG bar chart. The chart is generated with D3 v6, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and `d3.axisLeft` and `d3.axisBottom` for the axes. Data is loaded from a CSV file and rendered as `rect` elements.
AI-generated descriptionA template for creating SVG with D3 and CSS.