The D3.js Visual for Power BI provides a D3.js skeleton visual that everybody can use to create custom visuals with D3.js. Either the visual can be created from scratch or an existing D3.js visual can be used via a seamless 'lift-and-shift' procedure.
Some alterations are need to get the correct dimensions and the data retrieval. Optional it is possible to alter the color assignment based on the provided color array. A short tutorial can be found at: https://azurebi.jppp.org/power-bi-d3js-visual/
All D3.js visuals run in a frame with the following elements/variables:
SVG element:
pbi object:
Limitations
Release Notes
[1.2.0.0]
[1.1.0.0]
This is an open source visual. Code is available at my GitHub: https://github.com/liprec/powerbi-d3jsvisual
- Jan Pieter Posthuma, DataScenarios