gchq/CyberChef

Feature request: SVG output for large visualizations

Offen

#546 geöffnet am 28.04.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (3.944 Forks)batch import
featurehelp wanted

Repository-Metriken

Stars
 (34.843 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 57T 13h) (62 gemergte PRs in 30 T)

Beschreibung

Summary

When generating visualizations with large inputs on chart operations such as: (Scatter, Heatmap, ...), the generated SVG output for the download file is escaped. It might be useful to have the ability to download the SVG as a file.

Although viewing the SVG can be achieved by changing the output threshold in the options, this may not be clear to the user.

Example

Sample python script generating 100k random data points

import random

with open('randomdata.txt', 'a') as data_file:
    line_count = 0
    while (line_count < 100000):
        data_file.write('{0}, {1}\n'.format(random.randint(1,100), random.randint(1,100)))
        count = count + 1

Sample chart generation

Sample output from downloaded file

X: 20
Y: 91
X: 47
Y: 12
X: 25
Y: 21
...

Contributor Guide