Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
D
DV-Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
almohanad.hafez
DV-Project
Commits
a379d8c4
Commit
a379d8c4
authored
Feb 10, 2025
by
Almouhannad Hafez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .env file
parent
5cc6354c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
.env
.env
+2
-0
olympic_games.csv
data/olympic_games.csv
+0
-0
main.ts
src/ts/main.ts
+4
-1
No files found.
.env
0 → 100644
View file @
a379d8c4
# .env
VITE_DATASET_PATH=/data/olympic_games.csv
\ No newline at end of file
data/
data
.csv
→
data/
olympic_games
.csv
View file @
a379d8c4
File moved
src/ts/main.ts
View file @
a379d8c4
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment