Fork of Fork of reasuable saatter plot
✓ Published0🌍 Public
This reusable scatter plot compares car attributes—horsepower against fuel efficiency—using an SVG-based D3 v7 visualization. The code implements a configurable chart function with settable accessors for data, width, height, margins, and symbol size. Points are rendered as D3 symbols with hover tooltips showing car names and values. A separate implementation loads the Iris dataset via D3’s `csv` fetcher and uses ordinal scaling to assign distinct symbol shapes to different species, demonstrating the chart’s adaptability across datasets.
AI-generated descriptionMIT Licensed