Skip to main content
Public

Share visualization

Loading preview…

Steve's Scatter Plot with Color, Legend, and Dropdown

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

Steve's Scatter Plot with Color, Legend, and Dropdown

0
Bbootshine2
Last edited Oct 30, 2019
Created on Oct 30, 2019

This interactive scatter plot from a React and D3 v5 codebase visualizes bee colony loss data. The x-axis is selectable via an HTML dropdown, allowing users to compare percent loss, colony count, or beekeeper count per year. Each state is represented by a colored circle using `d3.scaleOrdinal`, with a corresponding legend. The chart uses SVG rendering and incorporates custom axes built with `d3.scaleLinear` for positioning, sourced from a CSV file.

AI-generated description

A scatter plot of Bee colony loss data.

Uses html <select> statement for dropdown to choose percent loss, total colonies, or total beekeepers.

Comments

Sign in to join the discussion.

MIT Licensed