New graphs
|
@ -548,6 +548,13 @@ function createGraphs(allFeatures: ChangeSetData[], appliedFilterDescription: st
|
|||
1
|
||||
)
|
||||
|
||||
Group.createStackedBarChartPerDay(
|
||||
"Deletion-changesets per theme" + appliedFilterDescription,
|
||||
allFeatures.filter(f => f.properties.delete > 0),
|
||||
f => f.properties.metadata.theme,
|
||||
1
|
||||
)
|
||||
|
||||
{
|
||||
// Contributors (unique + unique new) per day
|
||||
const contributorCountPerDay = new Group<string, string>()
|
||||
|
@ -601,7 +608,7 @@ new Histogram(emptyCS.map(f => f.properties.date)).keyToDate().asBar({
|
|||
}).render()
|
||||
|
||||
|
||||
writeFileSync("centerpoints.geojson", JSON.stringify({
|
||||
const geojson = {
|
||||
type: "FeatureCollection",
|
||||
features: allFeatures.map(f => {
|
||||
try {
|
||||
|
@ -610,7 +617,9 @@ writeFileSync("centerpoints.geojson", JSON.stringify({
|
|||
console.error("Could not create center point: ", e, f)
|
||||
}
|
||||
})
|
||||
}))
|
||||
}
|
||||
|
||||
writeFileSync("centerpoints.geojson",JSON.stringify(geojson, undefined, 2) )
|
||||
|
||||
|
||||
createGraphs(allFeatures, "")
|
||||
|
|
BIN
Docs/Tools/graphs/Changesets per host in 2020.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
Docs/Tools/graphs/Changesets per host in 2021.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
Docs/Tools/graphs/Changesets per host.png
Normal file
After Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 478 KiB After Width: | Height: | Size: 477 KiB |
Before Width: | Height: | Size: 512 KiB After Width: | Height: | Size: 514 KiB |
Before Width: | Height: | Size: 376 KiB After Width: | Height: | Size: 382 KiB |
Before Width: | Height: | Size: 435 KiB After Width: | Height: | Size: 436 KiB |
Before Width: | Height: | Size: 349 KiB After Width: | Height: | Size: 352 KiB |
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 427 KiB |
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 145 KiB |
After Width: | Height: | Size: 117 KiB |
After Width: | Height: | Size: 138 KiB |
BIN
Docs/Tools/graphs/Deletion-changesets per theme in 2020.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
Docs/Tools/graphs/Deletion-changesets per theme in 2021.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
Docs/Tools/graphs/Deletion-changesets per theme.png
Normal file
After Width: | Height: | Size: 111 KiB |