Scatter Plot_NH_with_legend
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 descriptionA 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)