Commit a379d8c4 authored by Almouhannad Hafez's avatar Almouhannad Hafez

Add .env file

parent 5cc6354c
# .env
VITE_DATASET_PATH=/data/olympic_games.csv
\ No newline at end of file
import * as d3 from 'd3';
import '/src/css/style.css';
import 'bootstrap';
\ No newline at end of file
import 'bootstrap';
const datasetPath = import.meta.env.VITE_DATASET_PATH;
d3.csv(datasetPath).then(data => { console.log(data[0]); })
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment