YAAASSS!!! What? No, it just worked! Nooooooo
Using the Raw HTML plugin, and the raw/raw tags, I put in my html code for my sankey flow diagram. In preview, it worked! But once I published it, it didn’t. The good news is that I know the code works. The bad news is it looks like either wordpress or this plugin is buggy – and its page warns about this. So I went to have a cuppa tea (in lieu of a frustrated cry), and now I’m going to try other raw html plugins.
Deactivating all other plugins that do this (just in case), trying Raw HTML Snippets (found via sitesparker) which I guess is much like the Wp-d3 plugin. Doesn’t do the donut, and gets the same result as the raw html – the text is there but not the actual sankey.
Next, Insert HTML Snippet. This still isn’t working, but the plugin is really well designed and user friendly, worth more investigation.
Last, Shortcoder. Nope, same problem, and slightly confusing to use. So I’m re-activating the wp-d3, pageview, Insert HTML Snippet and raw html plugins. and I’m wondering if I should just spend the bucks to get the pro raw html version, will that help me? Pondering.
ok, wait, before I try figuring out PayPal (I despise paypal), let’s do the raw thing again, staying well clear of the visual interface.
All right! Shit’s weird and the sankey doesn’t seem to be working 100%, but it’s progress! So for now let’s try optimise it and not touch the visual editor. I’ll probably buy this anyways, if it’s making my life easier and I don’t see any decent alternatives at the moment.
Leaving this here to come back to: https://observablehq.com/@mbostock/flow-o-matic an interactive editor for Sankey (flow) diagrams from Mike Bostock https://twitter.com/mbostock/status/1102274583741161472
and this one for without svg stuffs https://pudding.cool/process/flexbox-layout/ (via Naked Data: https://mailchi.mp/9e57a71301f6/naked-data-209-sci-fi-sexist-stalking-stripping-svg-and-science?e=1d4a1dda97)