Skip to main content
100%

Assignment 2

✓ Published0🌍 Public
VVenkataSatyaRamKamini@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024

This example shows the number of US students in a university from 2000 to 2008, using a combined line and area chart to emphasize the trend over time. The chart is rendered as an SVG using D3 v5, with a black line tracing the data and a semi-transparent aqua fill beneath it. The code imports specific D3 components like `select`, `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, `line`, `area`, and `curveBasis` to build the visualization. Data is loaded from a CSV file hosted on GitHub, with year and student count parsed as numeric values for scaling and plotting.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes