Skip to main content
Public

Share visualization

Loading preview…

Neeharika Reusable D3 Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Neeharika Reusable D3 Scatter Plot

0
Nneeharika2023@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

This reusable scatter plot visualizes the Iris Dataset, mapping wingspan on the x-axis and beak length on the y-axis. It uses D3 v7 with SVG rendering and animation. The chart is built with a modular, reusable function that supports configurable dimensions, margins, and axis labels. Each data point is represented by a colored circle, with colors assigned from the categorical scheme. The example demonstrates how to structure a chart as a configurable function, separating concerns and enabling easy customization. Hover effects and transitions are included to enhance interactivity and visual feedback.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed