j40-cejst-2/docs/architecture/architecture.mmd
Shelby Switzer 1f78920f63
Update diagrams in architecture docs (#790)
* Update diagrams in architecture docs

* Updates overall diagram to represent current arch and process
(including vision for data selection)
* Updates geo data pipleline arch diagram and removes geoplatform
version since we only have one version of this for the foreseeable
future and we're using geoplatform infradstructure

* Update diagram to remove something we do not yet do

* Updating Diagram

Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
Co-authored-by: GitHub Action <action@github.com>
2021-10-08 13:12:03 -04:00

31 lines
No EOL
1 KiB
Text

graph LR
subgraph c["Community"]
input["Community Input"]
end
subgraph ds["Data Selection (vision)"]
input --> Intake
input --> Evolution
input --> Voting
Intake --> Evolution --> Voting
end
subgraph s["Hosted by Geoplatform.gov"]
subgraph dp["Data Pipeline (Justice40 Repo)"]
Voting --> a["Approved Datasets"]
a -- ETL --> ncsv["Normalized CSVs"]
ncsv--"Score Generation"--> ScoreCSV["Full CSV with Data and Score"]
ScoreCSV-->GeoJSON
GeoJSON-->MVT["Uncompressed MVT Tiles"]
end
subgraph j40["Justice40 Client"]
MVT --"API (S3 Access)"--> vl["Justice40 Visualization Library (MapLibre)"]
vl --> fe["Justice40 Static Site Frontend (Gatsby)"]
end
end
subgraph oc["Other Clients"]
ScoreCSV --"API (S3 Access)" --> DS["Data Scientists"]
GeoJSON -- "API (S3 Access)" --> 3["Third Party Apps"]
MVT -- "API (S3 Access)" --> 3["Third Party Apps"]
end