Skip to main content
100%

D3 Soccer Starter

✓ Published1🌍 Public
CCurran Kelleher
Last edited May 18, 2022
Created on May 18, 2022
Forked from Hello Package.json

This example demonstrates a minimal integration of the d3-soccer library with React, rendering a static page that logs the imported `pitch` function to the console. The app uses `ReactDOM.render` to display a simple “Hello” message, while the d3-soccer library is loaded via a script tag and imported in the JavaScript module. The code imports `select` from d3 and the `pitch` API from d3-soccer, though no pitch visualization is actually drawn in the current implementation, serving as a starter template for future soccer field plots.

AI-generated description
ISC Licensed

Similar vizzes