Export Image
Export Code

Iris Scatter Plot

sumanthsomu1

Last edited Mar 24, 2023
Created on Mar 24, 2023
Forked from HTML Starter

Iris Scatter Plot

This project creates a reusable scatter plot for the Iris dataset using D3.js. The plot differentiates the iris species by shape and includes a legend to indicate the species.

Getting Started

  1. Clone or download the repository.
  2. Run npm install to install the required dependencies.
  3. Run npm start to start the development server.
  4. Open your browser and navigate to http://localhost:8080/.

Customization

You can change the features displayed on the x-axis and y-axis by modifying the arguments passed to the Scatterplot constructor in index.js. The available features are:

  • 'petal_width'
  • 'sepal_width'
  • 'petal_length'
  • 'sepal_length'
MIT Licensed