Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 Starter - vijq2(line chart)

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

Fork of D3 Starter - vijq2(line chart)

1
Vvijaysaichigullapally1@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from D3 Starter

A line chart visualizes the relationship between study hours and exam scores for a dataset of 120 students. The chart plots study hours along the x-axis and exam scores along the y-axis, with individual data points rendered as blue circles and a smooth monotone curve connecting them. The visualization uses the D3.js v7 library, specifically the `d3.line()` generator with the `curveMonotoneX` curve option, and renders as an SVG. Interactive tooltips display the exact values for each point on hover, implemented via mouse event listeners. The data, containing study hours, exam scores, and letter grade categories, is loaded from a CSV file using `d3.csv()`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed