Skip to main content

d3js

Enables the creation of interactive data visualisations using d3.js for custom charts, graphs, and complex SVG-based visualisations.

Install this skill

or
29/100

Security score

The d3js skill was audited on Mar 1, 2026 and we found 15 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 115

Template literal with variable interpolation in command context

SourceSKILL.md
115.attr("transform", `translate(${margin.left},${margin.top})`);
medium line 131

Template literal with variable interpolation in command context

SourceSKILL.md
131.attr("transform", `translate(0,${innerHeight})`)
medium line 158

Template literal with variable interpolation in command context

SourceSKILL.md
158const svg = d3.select(`#${containerId}`).append('svg');
medium line 220

Template literal with variable interpolation in command context

SourceSKILL.md
220.attr("transform", `translate(${margin.left},${margin.top})`);
medium line 232

Template literal with variable interpolation in command context

SourceSKILL.md
232.attr("transform", `translate(0,${innerHeight})`)
medium line 328

Template literal with variable interpolation in command context

SourceSKILL.md
328.attr("transform", `translate(${width / 2},${height / 2})`);
medium line 357

Template literal with variable interpolation in command context

SourceSKILL.md
357.attr("transform", d => `rotate(${(d.angle * 180 / Math.PI) - 90})translate(${outerRadius + 30})${d.angle > Math.PI ? "rotate(180)" : ""}`)
medium line 389

Template literal with variable interpolation in command context

SourceSKILL.md
389.attr("transform", `translate(${margin.left},${margin.top})`);
medium line 418

Template literal with variable interpolation in command context

SourceSKILL.md
418.attr("transform", `translate(${margin.left},${margin.top})`)
medium line 430

Template literal with variable interpolation in command context

SourceSKILL.md
430.attr("transform", `translate(${margin.left},${margin.top})`)
medium line 445

Template literal with variable interpolation in command context

SourceSKILL.md
445.attr("transform", `translate(${width - 60},${margin.top})`);
medium line 464

Template literal with variable interpolation in command context

SourceSKILL.md
464.attr("transform", `translate(${legendWidth},0)`)
medium line 483

Template literal with variable interpolation in command context

SourceSKILL.md
483.attr("transform", `translate(${width / 2},${height / 2})`);
medium line 570

Template literal with variable interpolation in command context

SourceSKILL.md
570.html(`<strong>${d.label}</strong><br/>Value: ${d.value}`);
low line 39

External URL reference

SourceSKILL.md
39<script src="https://d3js.org/d3.v7.min.js"></script>
Scanned on Mar 1, 2026
View Security Dashboard