Skip to main content
100%

Stylized line chart working with Time

✓ Published1🌍 Public
WWasanta Pruttisarikorn
Last edited Dec 29, 2022
Created on Dec 29, 2022
Forked from D3 Plot with React

This visualization displays temperature readings over the course of a week, plotted as a scatterplot of circular marks. Using React to render SVG elements, the chart employs d3.scaleTime for the horizontal axis, d3.scaleLinear for the vertical axis, and d3.extent to compute the domains from the data. The code uses d3.csv to load the dataset from a GitHub-hosted CSV, and d3.timeFormat to format weekday labels on the bottom axis. Each point includes a tooltip showing its timestamp, with styling applied via the Poppins font and custom axis colors.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes