Skip to main content
100%

Diamond Line Chart

✓ Published2🌍 Public
Aamalli7433@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Fork of Line Chart

This line chart shows the relationship between diamond carat weight and depth percentage, using a filtered subset of a diamonds dataset (every fifth point) loaded via `d3.csv`. The SVG visualization maps carat weight to the x-axis and depth percentage to a fixed 50–80 range on the y-axis, with a blue `d3.line` path connecting sorted data points. Gridlines from `d3.axisLeft` provide reference, while axis labels and a title are rendered as SVG text. The chart uses `d3.scaleLinear` for both scales and styled SVG elements for rendering.

AI-generated description
MIT Licensed

Similar vizzes