mirror of
https://github.com/adulau/passive-dns-atlas.git
synced 2025-01-04 23:13:17 +00:00
Simple generator of all the D3 bubble chart
This commit is contained in:
parent
fa207a7546
commit
1d15d4f2b6
1 changed files with 10 additions and 0 deletions
10
bin/stats/generate.sh
Normal file
10
bin/stats/generate.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Quick-and-dirty(tm) hack to generate the D3 js bubble charts from the
|
||||
# CSV files exported from get_stats.py. The template.html contains the source file.
|
||||
|
||||
for file in *.csv ; do
|
||||
field=$( echo ${file} | cut -f1 -d.)
|
||||
echo ${field}
|
||||
cat "template.html" | sed -e "s/##FIELD##/${field}/g" >${field}.html
|
||||
done
|
Loading…
Reference in a new issue