When operating your own instance of WordPress, plugins may not be necessary as there are restrictions on wordpress.com sites.
- Follow ekatz's advice by uploading your files to the media library: include the data (csv or json) and an html page with the d3.js visualization code (embedding javascript within the html is recommended)
Make a note of the HTML URL, for example: www.yourwebsite.com/wp-content/uploads/2015/11/d3page.html
Pay attention to how your javascript references your data. If uploaded in the same directory, use a relative path like d3.csv("file.csv")
2. When editing a post/page, switch to HTML mode and insert an iFrame:
`<iframe
style="border: 0px;"
src="www.yourwebsite.com/wp-content/uploads/2015/11/d3page.html"
scrolling="no"
width="100%"
height="500px">
</iframe>`
The scrolling option and border style help it blend seamlessly into the post.
After previewing or publishing, the visualization should be visible.
For more information, visit:
If you require external storage for data, consider using for json data, which is both free and open source.