Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of A2 Ques2

Public visualization

Fork of A2 Ques2

0 stars0๐ŸŒ Public
Ssujitrayudu01@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from A2 Ques2

This visualization displays Premier League player goals and assists as a filled area chart. The area chart plots goals on the x-axis and assists on the y-axis, with the region beneath the curve shaded in steelblue. The code loads data from a remote CSV file using `d3.csv`, then sorts the data by goals. It leverages `d3.scaleLinear` to create both axes, `d3.axisBottom` and `d3.axisLeft` for tick marks, and draws the area with `d3.area` within an SVG rendered on an HTML page.

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.

Comments

Sign in to join the discussion.

MIT Licensed