Skip to main content
Public

Share visualization

Loading preview…

Fork of Simple Scatter Plot

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 Simple Scatter Plot

0
445.saiful@gmail.com
Last edited Mar 9, 2026
Created on Mar 9, 2026

This fork of the Simple Scatter Plot shows a dual-axis chart of Seattle weather data, displaying precipitation as blue bars and maximum temperature as a red line, with separate left and right Y-axis scales. It uses d3.csv to load the dataset, then d3.scaleTime and d3.scaleLinear to create the scales, with d3.axisLeft, d3.axisRight, and d3.axisBottom for the axes. The chart renders gridlines and includes interactive accessibility attributes, with the six-month slice of data displayed across the responsive width of its container.

AI-generated description

Dual-Axis Chart Visualization

A D3.js dual-axis chart displaying Seattle weather data with precipitation bars and maximum temperature line overlay.

Features

  • Dual Y-axis scales for different metrics (precipitation and temperature)
  • Bar chart for discrete values (precipitation)
  • Line chart for continuous values (temperature)
  • Responsive design
  • Gridlines for better readability
  • Legend showing both metrics
  • Reusable chart component

Data

Uses Seattle weather dataset with 180 samples (6 months) covering:

  • Date
  • Precipitation (mm)
  • Max Temperature (°C)

Comments

Sign in to join the discussion.

MIT Licensed