Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question2

Public visualization

Viewing a saved revision (read-only)

5eae84d5ef414be6bd6494fa24720b71

Question2

0 stars0🌍 Public
PPadmajaKodati@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This area chart visualizes crop profits in the USA from 2010 to 2020, showing the trend of profit values over time. The chart uses a grey filled area beneath a black line to represent the data, with blue axis labels and a title indicating the topic. Built with D3 v5, the code employs `scaleTime` and `scaleLinear` for axes, `line` and `area` generators with `curveBasis` for smoothing, and `axisBottom` and `axisLeft` for tick marks. Data is loaded from a CSV file via `csv` and parsed for rendering as an SVG.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.