summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/assets/css/applets.css12
-rw-r--r--site/content/pages/research/munich_security_conference/assets/country_counts.csv9
-rw-r--r--site/content/pages/research/munich_security_conference/index.md7
3 files changed, 26 insertions, 2 deletions
diff --git a/site/assets/css/applets.css b/site/assets/css/applets.css
index ef9f09e2..daf36a19 100644
--- a/site/assets/css/applets.css
+++ b/site/assets/css/applets.css
@@ -216,6 +216,9 @@
/* chart */
+.chart {
+ text-align: center;
+}
.piechart .chart {
display: flex;
flex-direction: row;
@@ -229,16 +232,21 @@
justify-content: space-between;
align-items: center;
}
+.single_pie_chart .chart .c3-chart-arc text,
.piechart .chart .c3-chart-arc text {
fill: #fff;
}
+.single_pie_chart .chart .c3-chart-arc.c3-target-Academic text,
.piechart .chart .c3-chart-arc.c3-target-Academic text {
fill: #333;
}
-.piechart .c3 path, .piechart .c3 line {
+.single_pie_chart .c3 path,
+.single_pie_chart .c3 line,
+.piechart .c3 path,
+.piechart .c3 line {
stroke: rgba(64,64,64,0.3);
}
-.piechart .chartCaption {
+.chartCaption {
color: #888;
font-size: 12px;
font-family: 'Roboto', sans-serif;
diff --git a/site/content/pages/research/munich_security_conference/assets/country_counts.csv b/site/content/pages/research/munich_security_conference/assets/country_counts.csv
new file mode 100644
index 00000000..b2e9dcc8
--- /dev/null
+++ b/site/content/pages/research/munich_security_conference/assets/country_counts.csv
@@ -0,0 +1,9 @@
+country,images
+Ecuador,2
+Finland,2
+France,52
+United Kingdom,995
+Italy,521
+Norway,2
+Sweden,1
+United States,6866 \ No newline at end of file
diff --git a/site/content/pages/research/munich_security_conference/index.md b/site/content/pages/research/munich_security_conference/index.md
index b361f84b..79bed8ec 100644
--- a/site/content/pages/research/munich_security_conference/index.md
+++ b/site/content/pages/research/munich_security_conference/index.md
@@ -28,6 +28,13 @@ Intro paragraph.
[ add montage of extracted faces here]
+```
+single_pie_chart /site/research/munich_security_conference/assets/country_counts.csv
+Caption: Embassy images found in datasets, by country
+Top: 4
+OtherLabel: Other Countries
+```
+
![caption: Placeholder caption](assets/montage_placeholder.jpg)
![caption: Placeholder caption](assets/bar_placeholder.png)