Spaces:
Sleeping
Sleeping
Commit
·
b7f99ba
1
Parent(s):
f3a3917
commit
Browse files
app.py
CHANGED
|
@@ -6,7 +6,6 @@ from datasets import load_dataset
|
|
| 6 |
import numpy as np
|
| 7 |
|
| 8 |
# Load the dataset
|
| 9 |
-
@gr.cache_examples
|
| 10 |
def load_data():
|
| 11 |
"""Load the GVFD dataset from Hugging Face"""
|
| 12 |
try:
|
|
@@ -334,6 +333,124 @@ with gr.Blocks(title="GVFD Navigator", theme=gr.themes.Soft()) as demo:
|
|
| 334 |
interactive=False
|
| 335 |
)
|
| 336 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 337 |
gr.Markdown("""
|
| 338 |
---
|
| 339 |
### About the Data
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
|
| 8 |
# Load the dataset
|
|
|
|
| 9 |
def load_data():
|
| 10 |
"""Load the GVFD dataset from Hugging Face"""
|
| 11 |
try:
|
|
|
|
| 333 |
interactive=False
|
| 334 |
)
|
| 335 |
|
| 336 |
+
with gr.Tab("About"):
|
| 337 |
+
gr.Markdown("""
|
| 338 |
+
# About GVFD Navigator
|
| 339 |
+
|
| 340 |
+
## Purpose of This Tool
|
| 341 |
+
|
| 342 |
+
The **GVFD Navigator** is an interactive visualization tool designed to help researchers, analysts, policymakers,
|
| 343 |
+
and sustainability professionals explore the Global Value Factor Database (GVFD). This navigator enables you to:
|
| 344 |
+
|
| 345 |
+
- **Filter and explore** environmental and social impact value factors by country and category
|
| 346 |
+
- **Visualize patterns** in how different countries value environmental impacts
|
| 347 |
+
- **Compare regions** to identify global trends and outliers
|
| 348 |
+
- **Export and analyze** filtered data for your own research or reporting needs
|
| 349 |
+
- **Understand monetary valuations** of environmental impacts across 229 countries
|
| 350 |
+
|
| 351 |
+
This tool transforms the raw GVFD dataset into accessible, interactive visualizations that make it easier to
|
| 352 |
+
understand how environmental and social impacts translate into economic terms across different regions.
|
| 353 |
+
|
| 354 |
+
---
|
| 355 |
+
|
| 356 |
+
## About the Global Value Factor Database (GVFD)
|
| 357 |
+
|
| 358 |
+
### What is the GVFD?
|
| 359 |
+
|
| 360 |
+
The **Global Value Factor Database** is a pioneering dataset developed by the [International Foundation for
|
| 361 |
+
Valuing Impacts (IFVI)](https://www.ifvi.org/) that converts non-financial environmental and social impacts
|
| 362 |
+
into standardized monetary values (US Dollars).
|
| 363 |
+
|
| 364 |
+
The database represents a groundbreaking framework for evaluating global value creation by translating
|
| 365 |
+
companies' environmental and social impacts into financial equivalents, enabling a more holistic assessment
|
| 366 |
+
of corporate and organizational performance.
|
| 367 |
+
|
| 368 |
+
### Methodology
|
| 369 |
+
|
| 370 |
+
The GVFD uses a rigorous methodology to:
|
| 371 |
+
|
| 372 |
+
- Convert non-financial environmental and social impacts into standardized monetary values
|
| 373 |
+
- Provide value factors as multipliers to calculate monetary equivalents of impacts
|
| 374 |
+
- Standardize impact accounting across different domains and geographies
|
| 375 |
+
- Enable currency conversion for non-USD jurisdictions
|
| 376 |
+
- Support integration into financial reporting and impact accounting systems
|
| 377 |
+
|
| 378 |
+
### Coverage
|
| 379 |
+
|
| 380 |
+
- **229 countries and territories** worldwide
|
| 381 |
+
- **205 countries with ISO codes** (89.5% coverage)
|
| 382 |
+
- **~115,000 individual measurements** across all categories
|
| 383 |
+
- **7 major world regions** represented
|
| 384 |
+
- **50 US states** included for detailed US analysis
|
| 385 |
+
|
| 386 |
+
### Impact Categories
|
| 387 |
+
|
| 388 |
+
The GVFD covers five major environmental impact categories:
|
| 389 |
+
|
| 390 |
+
1. **Air Pollution** - Value factors for atmospheric emissions and air quality impacts
|
| 391 |
+
2. **Land Use and Conservation** - Monetary values for land use changes and conservation impacts
|
| 392 |
+
3. **Waste Generation** - Economic valuations of waste production and management
|
| 393 |
+
4. **Water Consumption** - Value factors for water use and depletion
|
| 394 |
+
5. **Water Pollution** - Monetary values for water quality degradation and contamination
|
| 395 |
+
|
| 396 |
+
### Unique Features
|
| 397 |
+
|
| 398 |
+
- **Standardized monetary conversion** enables comparison across impact types and geographies
|
| 399 |
+
- **Comprehensive global coverage** includes nearly all countries and territories
|
| 400 |
+
- **Detailed methodological documentation** ensures transparency and reproducibility
|
| 401 |
+
- **Currency flexibility** allows conversion to local currencies for regional analysis
|
| 402 |
+
- **Integration-ready** format supports incorporation into existing impact accounting systems
|
| 403 |
+
|
| 404 |
+
### Use Cases
|
| 405 |
+
|
| 406 |
+
The GVFD and this navigator can support:
|
| 407 |
+
|
| 408 |
+
- **Corporate sustainability reporting** - Quantify environmental impacts in financial terms
|
| 409 |
+
- **ESG analysis** - Evaluate environmental performance with monetary metrics
|
| 410 |
+
- **Policy modeling** - Assess economic costs of environmental impacts for policy decisions
|
| 411 |
+
- **Impact investing** - Evaluate and compare environmental impact of investments
|
| 412 |
+
- **AI and machine learning** - Train models on environmental impact valuations
|
| 413 |
+
- **Academic research** - Study relationships between environmental impacts and economic values
|
| 414 |
+
- **Correlation analysis** - Identify patterns in how different countries value environmental impacts
|
| 415 |
+
|
| 416 |
+
---
|
| 417 |
+
|
| 418 |
+
## Data Source and Attribution
|
| 419 |
+
|
| 420 |
+
**Original Data**: [IFVI Global Value Factor Database V2](https://huggingface.co/datasets/danielrosehill/Global-Value-Factor-Database-Refactor-V2)
|
| 421 |
+
|
| 422 |
+
**Dataset Developer**: International Foundation for Valuing Impacts (IFVI)
|
| 423 |
+
|
| 424 |
+
**Official Website**: [https://www.ifvi.org/](https://www.ifvi.org/)
|
| 425 |
+
|
| 426 |
+
**Navigator Tool**: This is an **unofficial visualization tool** created to make the GVFD more accessible.
|
| 427 |
+
For official data, methodologies, and authoritative guidance, please consult IFVI's official resources.
|
| 428 |
+
|
| 429 |
+
---
|
| 430 |
+
|
| 431 |
+
## Disclaimer
|
| 432 |
+
|
| 433 |
+
This navigator is an independent visualization tool and is not officially endorsed by IFVI. While every effort
|
| 434 |
+
has been made to accurately represent the data, users should refer to the original GVFD dataset and IFVI's
|
| 435 |
+
official documentation for authoritative information and methodology details.
|
| 436 |
+
|
| 437 |
+
The monetary values provided represent economic valuations of environmental impacts based on IFVI's methodology
|
| 438 |
+
and should be interpreted within the context of their methodological framework.
|
| 439 |
+
|
| 440 |
+
---
|
| 441 |
+
|
| 442 |
+
## Technical Details
|
| 443 |
+
|
| 444 |
+
- **Built with**: Gradio, Plotly, Pandas, Hugging Face Datasets
|
| 445 |
+
- **Data Format**: Parquet files loaded from Hugging Face Hub
|
| 446 |
+
- **Visualizations**: Interactive charts using Plotly for exploration and analysis
|
| 447 |
+
- **Filtering**: Dynamic filtering by country, category, and value ranges
|
| 448 |
+
|
| 449 |
+
For questions, feedback, or issues with this navigator tool, please visit the
|
| 450 |
+
[GitHub repository](https://huggingface.co/spaces/danielrosehill/GVFD-Navigator) or contact the tool maintainer.
|
| 451 |
+
""")
|
| 452 |
+
|
| 453 |
+
|
| 454 |
gr.Markdown("""
|
| 455 |
---
|
| 456 |
### About the Data
|