Fork of D3 Starter
✓ Published1🌍 Public
This example visualizes the area (blue bars) and perimeter (orange line with points) of various shapes, using a dual-axis layout with the shape name on the shared x-axis, area scaled on the left y-axis, and perimeter on the right. Data is loaded asynchronously from a CSV file via `d3.csv` and filtered to include only finite numeric values. The visualization uses `d3.scaleBand` for the categorical x-axis, `d3.scaleLinear` for both y-axes, `d3.axisLeft`, `d3.axisRight`, and `d3.axisBottom` for ticks, and `d3.line` to generate the perimeter path. A legend and rotated axis labels clarify the two data series.
AI-generated descriptionMIT Licensed