Export Code

harry123op

Last edited Oct 25, 2024
Created on Oct 25, 2024

Electric Vehicles Scatter Plot

This project visualizes the relationship between horsepower and range of electric vehicles using a scatter plot. It uses D3.js for rendering the plot and local ES6 modules for organization.

Files:

  • index.html: The main HTML file that sets up the structure of the page.
  • index.js: The JavaScript file that fetches the CSV data and renders the scatter plot.
  • myMessage.js: A module exporting a message to display at the top of the page.
  • style.css: The stylesheet for basic styling of the page.
  • README.md: This file.

How to Run:

  1. Clone or download the repository.
  2. Open index.html in a web browser.
  3. The scatter plot will visualize the relationship between horsepower and range of electric vehicles.
MIT Licensed