Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EvolucionPIB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DESI_24-25
EvolucionPIB
Commits
9d79415c
Commit
9d79415c
authored
4 months ago
by
frajuar
Browse files
Options
Downloads
Patches
Plain Diff
Actualizado el texto sobre los paises
parent
1ce01909
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Js/script.js
+3
-1
3 additions, 1 deletion
Js/script.js
index.html
+0
-1
0 additions, 1 deletion
index.html
with
3 additions
and
2 deletions
Js/script.js
+
3
−
1
View file @
9d79415c
...
...
@@ -127,6 +127,7 @@ function dibujaMapa(seleccionAnno) {
.
attr
(
"
id
"
,
"
texto
"
)
.
attr
(
"
x
"
,
centroid
[
0
])
.
attr
(
"
y
"
,
centroid
[
1
]
-
10
)
.
style
(
"
font-family
"
,
"
Arial
"
)
.
style
(
"
fill
"
,
"
black
"
)
.
text
(
`
${
d
.
properties
.
name
}
:
${
d
.
properties
.
value
?
d
.
properties
.
value
.
toFixed
(
2
)
:
'
Sin datos
'
}
`
)
.
style
(
"
opacity
"
,
1
);
...
...
@@ -293,10 +294,11 @@ function dibujaGrafico(country,paises){
// Título
svg
.
append
(
"
text
"
)
.
attr
(
"
x
"
,
width
/
2
)
.
attr
(
"
y
"
,
-
8
)
.
attr
(
"
y
"
,
-
5
)
.
attr
(
"
text-anchor
"
,
"
middle
"
)
.
style
(
"
font-size
"
,
"
18px
"
)
.
style
(
"
font-weight
"
,
"
bold
"
)
.
style
(
"
font-family
"
,
"
Arial
"
)
.
text
(
`Evolución de los datos para
${
country
}
`
);
}
This diff is collapsed.
Click to expand it.
index.html
+
0
−
1
View file @
9d79415c
...
...
@@ -11,7 +11,6 @@
Distribución del PIB mundial en cientos de millones de dólares
</div>
<div
id=
"map"
>
<!-- Add a container for the year selector -->
<div
id=
"yearSelectorContainer"
>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment