D3 Soccer Starter
✓ Published1🌍 Public
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 descriptionISC Licensed