/c.3751.P4c

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

A simple scatter plot with D3 showing the

Top Football League Scorers,

Description

A scatter plot showing goals scored on the y-axis and matches played on the x-axis of professional players in different leagues around the world in the year 2017.

  • Three quantitative attributes:

    • Goal (plotted on the y-axis)
    • Matches played (plotted on the x-axis)
    • Average goals per match (encoded as the size of the circles)
  • Categorical attribute:

    • League (encoded by the color)

Usage

To use this visualization:

  1. Open the folder directory in the terminal by navigating to the folder using the following command:

    cd <folder name>
  2. Run the following commands in the folder directory:

    npm install
    npm run dev
  3. This will spin up a local server, and you can view the visualization by navigating to the specified local URL in your web browser.