-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Charts module #143
WIP: Charts module #143
Conversation
Ok, that's just amazing. That looks super super good. This and some time series style charts like these: |
I've added outlines and colour customization for hex density plots:
-- @sroberts thanks for those suggestions, I've never seen a timeline like that before! The time-series is my next goal. One constraint I'm applying is SVG only because I think having JS in the output pane would make things very messy and not portable. I would like for a user to be able to copy and paste one of these into a presentation or document. I do think I can figure out how to do these visualizations just with SVG (though but with slightly less interactivity). This is the native SVG tool-tip ( |
Any idea how we can implement tests for this?
…On Tue, 30 May 2017, 21:25 Toby Lorne, ***@***.***> wrote:
I've added outlines and colour customization for hex density plots:
[image: image]
<https://cloud.githubusercontent.com/assets/1482692/26602997/4e724992-4553-11e7-839d-c03c2b3efcb3.png>
Also if anyone knows how to make hexagon plots behave better for
disproportional scales please let me know!
--
@sroberts <https://github.com/sroberts> thanks for those suggestions,
I've never seen a timeline like that before! The time-series is my next
goal.
One constraint I'm applying is SVG only because I think having JS in the
output pane would make things very messy and not portable. I would like for
a user to be able to copy and paste one of these into a presentation or
document. I do think I can figure out how to do these visualizations just
with SVG (though but with slightly less interactivity).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#143 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACAWfrGzXgQjgQ2hITgkrc3I2nqvricuks5r_HsygaJpZM4Nqtge>
.
|
This looks pretty cool and will definitely make sense once the module system is in place. Due to d3's size, I doubt we'll be able to merge it before then, but it's good to see the progress. There are a couple of operations that make use of charts already: 'Entropy' and 'Frequency distribution'. For these I just drew custom diagrams using the HTML5 Nice work. |
Haven't had a ton of time to work on this but here is a quick update. Series charts with svg title tooltips:
Heatmap chart:Scatter chart:HTML to Text operationThis is so you can easily export a chart, or other HTML tables @n1474335 thanks for the suggestions, I did look at them before starting this project. I think SVG is more "portable" and as you mentioned safer. I don't think these chart operations should aim to be any more than tools for ad hoc data analysis within CyberChef, or a tool to quickly embed results into a report, rather than fully fledged charting toolkits like Tableau, Plotly, etc. I'm perfectly happy to wait for the module system to be implemented, however so far the inclusion of d3 and d3-hexbin and all the new operations creates a I need to clean up some of the code and do some refactoring, as well as adding a few more charts:
|
These are really great. Any chance of updating them to work with the new operation format? |
over 1y old at this point this PR, i should have another look at these, just busy with work. the blockers i dealt with at the time (which are not insurmountable) was making it work with themes (if this is a thing we care about). thanks for jogging my memory (at least PGP operations are in now! 😆 ) |
I wouldn't worry too much about themes. I can mess around with that if the operations work. |
This would be super useful. Any updates on this pr? |
… On Fri, 11 Jan 2019, 01:11 Shashwat amin, ***@***.***> wrote:
This would be super useful. Any updates on this pr?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#143 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACAWfuc-MyTxNL_YIxOQQXxBusG92C3Yks5vB-S9gaJpZM4Nqtge>
.
|
Closing this in favour of #496 as @artemisbot is taking this on, thanks @artemisbot! |
CyberChef is very useful for slicing and dicing and some analysis, but I often find myself dumping CyberChef output into GNUPlot or a spreadsheet to do some analysis. With a module system in the works I thought charting be a good candidate for an initial module.
Currently I'm using D3 to generate SVGs, this method allows us to just save the generated SVG for embedding elsewhere.
Currently I have implemented:
I would love to see in the comments what visualisations or charts would be useful: links to blog posts, pictures, and d3 blocks would be highly appreciated.
Here is the Hexagon density chart (heavily influenced by this block):