Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot_NH_with_legend

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

Scatter Plot_NH_with_legend

0
NNavak94
Last edited Mar 15, 2023
Created on Mar 15, 2023
Forked from Scatter Plot_NH

This scatter plot visualizes daily solar power generation data from Kaggle, plotting maximum wattage on the y-axis against data point number on the x-axis. The visualization uses d3.scaleLinear to map the data values, with circles rendered at each data point. The code imports axes and scatterPlot components that leverage d3's axisLeft and axisBottom for axis generation. Data is loaded asynchronously via fetch and parsed with d3.csvParse, then converted to numeric fields before being passed to the scatter plot function.

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