Skip to main content
Public

Share visualization

Loading preview…

Interactive Color Legend_With_Menu_NH_2

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

Interactive Color Legend_With_Menu_NH_2

0
NNavak94
Last edited Mar 25, 2023
Created on Mar 23, 2023

This interactive scatter plot displays daily solar power generation data from Kaggle, plotting maximum wattage against data point (date) for Banneker and Davies solar sites. A drop-down menu switches between sites, while a color legend highlights points by site name and dims unrelated circles on hover. Built with D3 v7, the visualization uses `scaleLinear` for axes, `scaleOrdinal` with `schemeCategory10` for coloring, and custom modules for axes, legend, and menu rendering. The fetched CSV data is parsed and coerced to numeric types before being plotted as circles.

AI-generated description

A scatter plot of solar data from (https://www.kaggle.com/datasets/mattop/daily-solar-power-generation?resource=download)

wherein the y axis is the maximum wattage gotten on a particular data point and the x axis is the data point number (i.e. the date)

Comments

Sign in to join the discussion.

MIT Licensed