Hi
Pls create en.pot for i18n other langs.
Thnx ??
]]>I have updated the WordPress version 5.4 recently, and installed again the Wp-D3. But I can not find the icon of wp-D3 on both page and post’s visual and code editor.
Is it compatible with newest version of WordPress? and what should I do to make it work again
Please help! Thank you in advanced
]]>Hi,
I have been working on a chart, everything was working fine. And suddently D3 seems to have stopped working. I went back to basics and just did a simple canvas with a rectangle in a svg. Even that does not work. It seems that the instructions placed in the chart manager are never reached. Even console.log(“test”) does not do anything. I am very confused. It seems like a D3 bug. I have uninstalled it and reinstalled but still the same.
In the page i have just this line [d3-source canvas="wpd3-94-0”]
In the chart manager I have this:
var svg = d3.select(".wpd3-94-0").append("svg")
.attr("width", 1000)
.attr("height", 1000);
svg.append("rect")
.attr("x", 50)
.attr("y", 50)
.attr("width", 1000)
.attr("height", 1000)
.attr("fill","red");
svg.append("text")
.attr("x", 50)
.attr("y", 50)
.attr("text","hello");
console.log("test");
The javascrip debugger does not print anything neither.
Really needs some help here I cannot understand what is going on. I think of a bug and last recourse to reinstall the entire wordpress but this is a pain :s
Thanks in advance
]]>Are there plans on creating a version that works with the latest version of D3?
]]>Hi!
We are facing some problems to use the plugin with WP 4.8.2. Can you help ?
Many thanks
BR
]]>Activating Wp-D3 prevents the Super Cool Ad Inserter Plugin from automatically inserting shortcodes into the post body using a filter on ‘the_content’.
You can see SCAIP’s shortcode insertion filter here: https://github.com/INN/super-cool-ad-inserter-plugin/blob/master/inc/scaip-shortcode-inserter.php
This was experienced on WordPress 4.8.2 with a number of other plugins installed, but enabling and disabling Wp-D3 controlled whether SCAIP successfully inserted ads.
]]>I’m getting this error in the settings page for the plugin after a fresh install.
‘Warning: Invalid argument supplied for foreach() in \wp-content\plugins\wp-d3\options.php on line 98’
I am getting the same error on a site that’s running WordPress 4.7.5 as well.
]]>Hi, thanks for the plugin, it’s been a huge help.
I think it’s interfering with the latest version of Ninja Forms. When Wp-D3 is active, forms created in Ninja Forms will not load. Deactivate Wp-D3, and they load as they should.
I’ll pass this on to Ninja Forms as well, but I’d be grateful for any workaround.
]]>Hi there
I’ve added a simple graphic that I’ve taken from the D3 site. Everything appears to be working fine and there are no errors in the console.
However, nothing is displaying. I was wondering whether it was a problem with the latest WP.
I’ve deactivated all plugins barring Yoast.
The address is https://mapref41.com/d3-test4/
Thanks for taking the time to look at this. This plugin is just what I’m after, I just need it to work :).
Cheers
James
]]>When I activate WP-D3, the display of an older social sharing plugin, “sharethis” is broken.
Should look like this:
Immediately after activation, looks like this:
]]>Is Wp-D3 compatible with WordPress 4.7, has anyone gotten it to work. I am a newbie and have never used Wp-D3 before and cannot get it to work with wp 4.7 no error show in the console or the preview window.
]]>Getting one of these
Uncaught TypeError: Cannot read property ‘index’ of undefined(…)
And then a ton of these
Uncaught TypeError: Cannot read property ‘x’ of undefined(…)
When trying to display a d3js element
https://d3js.newbreedmarketing.com/index.php/2016/10/31/d3js-test/
Has anybody else encountered this?
]]>Hello…
Love this plugin and very excited about its possibilities.
Issue I’m having. Paste code in chart manager, save and view. All is good.
Go back to edit. Via highlighting short code and clicking the icon. Chart manager comes up blank.
When viewing the page the chart/graph still displays normally.
I’ve disabled all plugins and changed theme to 2015 to no avail.
Any thoughts?
Many thanks!
]]>Great plugin, thank you so much for building this.
Is it possible to use do_shortcode()
in my template files to include a chart or is there another way of including a chart directly?
Hi there,
A general question.
I have a client who does environmental testing of dust particles in the air etc. I have done his website.
He has various readings everyday, and every hour of the dust particles levels (amongst other things) … and he would like to have a page on his website where this live data can be streamed and viewed on a page. Is this possible with this plugin?
Any help greatly appreciated.
Mike
I’m using 2.3 and now when I click the icon on the editor to open a D3 window, a blank overlay appears and the browser hangs. The last time I tried to use the D3 editor it was on the prior version of the plugin. This is the first time I’ve tried the editor feature since upgrading to 2.3.
Any trouble-shooting suggestions? Other editor icons on the dash are working fine.
]]>Hi,
I’ve followed the steps and installed everything, but I’m not getting any output. In console I see a few errors
Uncaught TypeError: Cannot read property 'length' of undefined
e @ d3.min_.js:formatted:925
t.parse @ d3.min_.js:formatted:905
(anonymous function) @ ?p=2410&preview=true:284
(anonymous function) @ ?p=2410&preview=true:283
(anonymous function) @ d3.min_.js:formatted:634
t @ d3.min_.js:formatted:111
i @ d3.min_.js:formatted:573
Also, I get one more error that repeats:
WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
Any help on this would be appreciated!
]]>Hello. I’m new to this, so please forgive what may be an obvious question to the better informed.
I have something that I wrote in D3 with Dimple, which I am trying to integrate into my WordPress-based website. I have installed the D3 plugin, and got this tutorial to work. But my own code includes includes a jQuery function, queue();
queue()
.defer(d3.tsv,"https://url.com/wp-content/uploads/2016/04/ClassScoreData.txt")
.await(analyze);
The function queue() triggers a console error, “Uncaught ReferenceError: queue is not defined”.
I have included the dimple js file. I have also tried including the jquery js file, although I get the impression that that is the wrong approach, and that I need to reference the standard WordPress copy instead. Based on what I read, I added the following to my theme’s header.php file:
<?ph <?php wp_enqueue_script('jquery'); ?>
I added it in the <head> section, immediately before:
<?php wp_head(); ?>
It seems like this is supposed to load jQuery, making it available for use. But I’m having difficulty following the articles I’ve found on this topic, and in any event I must be doing something wrong as I can’t get it to work.
Thanks for any advice.
]]>I’ve been researching an issue where upon returning content from a custom shortcode, WP is auto-adding leading p tags in front of an img tag. I used remove_filter on wpautop in functions.php with a 99 priority, but still the issue is happening.
I disabled all plugins one by one and discovered that this plugin was doing the reformatting. I like this plugin a lot btw, but I do need to get the auto-formatting issue fixed.
Can you please advise on how to do this? Thanks…
Using the 2.2 version of the plugin…
]]>Hello,
Thnx for a great plugin!
A 3djs based entry works perfectly with Chrome and Mozilla and fails to display a background image in MS Edge 25.10586.0.0
The Consola tag shows:
SCRIPT5007: Unable to get property ‘name’ of undefined or null reference
jquery.js (5,13751)
Any idea why?
Many thanks.
Hi !
I ‘ve tried desperatly to find how to make my code working with a div for my tooltip.
// Define the div for the tooltip
var div = d3.select(“.wpd3-71-3”).append(“div”)
.attr(“class”, “tooltip”);
I think that i’m not calling the right thing but i don’t know how to write the code to make my tooltip work on my wordpress blog !
To see what the chart look like : https://bl.ocks.org/dyorama/d368d3137fd6abb48fa3
Thanks by advance for your help. Thanks too for the plugin !
]]>When this plugin is activated, it removes <p> tags from double line breaks causing unformatted text. As soon as I deactivate the plugin, everything is back to normal. I downloaded V2.2 and according a previous post, this should have been fixed with V1.2? Please advise.
]]>Hi, I’m using version 2.2 of this plugin but I’ ve this classic issue: my ampersand chars (e.g. ‘&’) are converted in ‘&038;’ . I found a related resolved topic on this forum however I’m in this trouble.
]]>Hi
First of all, thanks a lot for this really usefulle plugin !
Then, i’m working with the Elegant Theme Divi v2.4 and when I activate the plugin the Divi Sections are completely resized.
Do you have any feedback about CSS conflict or anything else with this theme ?
I understand that would be simple with a more “conventional” theme, but I’m completely crazy about this one ??
Thanks for your help
Thomas
So I followed this tutorial: https://figurebelow.com/d3/short-tutorial-into-wp-d3-v2/
From the Wp-d3 Chart Manager, I could preview the graph and it works properly. However, my post goes blank when I publish it to my site (hosted locally, for testing purposes). Console says “Uncaught ReferenceError: d3 is not defined”. Am I missing something? Thank you very much.
]]>I tried to preview a sample chart from https://bl.ocks.org/mbostock/3943967
but there is a PHP error:
Warning: Invalid argument supplied for foreach() in <mysite>/wp-content/plugins/wp-d3/utils.php on line 131
I had to wrap the aforementioned for loop with an if statement on line 131 to get it to work:
if(is_array($includes))
Also, the preview does not close the div tag. I added </div>
right before the closing body and html tags of the last echo statement before exit()
.
Lastly, I noticed I had to hit save to “preview” my chart. Is this a design feature? Isn’t a preview supposed to be something you’d look at before saving?
]]>I’m trying to replicate this chart in the plugin:
https://bl.ocks.org/mbostock/4061961
I.e. have a chart where you can click an update button and have a transition to a new set of data.
In the example this is written as:
<button>Update</button>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="bullet.js"></script>
Where/how would I add this in wp-d3 to get the button to appear?
]]>Hi,
can not see any wp-d3 icon in the toolbar.
theme twenty-fifteen, deacivated all the plugins.
thanks a lot.
]]>I’m trying to add a map to a post that I created in d3, but I’m unable to get the map to show up. I’m wondering if this plugin has functionality for maps or if it’s something I’m doing wrong in the plugin. I’ve uploaded the map geo data (which was json) as a txt file, so I don’t know if that’s potentially the issue?
]]>Hello, I’ve been successfully using wp-d3 for a while now. Today I ran into the following problem: if js code contains symbols <p>, WordPress inserts a newline character before them, making code invalid.
For example, if I write
node.html("<p>" + text + "</p>")
the newline is inserted right after the first quote character.
I don’t really know if the problem is in wp-d3 or in WordPress itself, but it would be great if you could suggest a way to make this work.