Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
> currenly only 1000 articles are in, currently doing heavy optimization work before scraping and adding all 7,195,600.
|
| 2 |
+
|
| 3 |
+
## My computer did all the hard scraping and proccesing for you! Just use the github pages link https://icybawss.github.io/wikipedia_graph/ no need to do anything below unless you would like to remake it or edit stuff.
|
| 4 |
+
|
| 5 |
+
# 1. Project Documentation (README.md)
|
| 6 |
+
## Wikipedia Graph Visualization Pipeline
|
| 7 |
+
|
| 8 |
+
This project aims to create an interactive web-based visualization (an Obsidian-like node graph) of Wikipedia articles and their connections.
|
| 9 |
+
|
| 10 |
+
### Prerequisites
|
| 11 |
+
You must have Python and the following packages installed:
|
| 12 |
+
`pip install requests beautifulsoup4`
|
| 13 |
+
|
| 14 |
+
### Project Structure
|
| 15 |
+
- `/wikipedia_graph_project/`
|
| 16 |
+
- `scraper/`: Contains the core data-fetching logic.
|
| 17 |
+
- `generator/`: Contains the visualization logic (D3.js).
|
| 18 |
+
- `results/`: Final JSON data and HTML artifacts.
|
| 19 |
+
|
| 20 |
+
### Execution Steps
|
| 21 |
+
1. **Data Scraper:** Run the scraping scripts to gather all the raw data.
|
| 22 |
+
2. **Data Compiler:** Run the compilation script to transform the raw data into the D3-ready JSON.
|
| 23 |
+
3. **Visualization Builder:** Run the final script to embed the data into the D3.js HTML/CSS visualization.
|
| 24 |
+
|
| 25 |
+
### IMPORTANT NOTE
|
| 26 |
+
The script provided previously was a conceptual blueprint. Due to the scope of 'all of Wikipedia', the ingestion phase (Phase 3) is highly complex. Start with small batches (e.g., processing 100 pages) and verify the extraction logic before attempting full-scale runs.
|