Updated radar chart and documentation
This commit is contained in:
parent
6c407db15c
commit
a891e03e32
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@
|
|||
.attr("fill", "none");
|
||||
}
|
||||
|
||||
// Draw axes & labels
|
||||
// Axes and Labels
|
||||
axes.forEach(d => {
|
||||
var end = polarToCartesian(centerX, centerY, maxRadius, d.angle);
|
||||
svg.append("line")
|
||||
|
@ -70,7 +70,7 @@
|
|||
.text(d.axis);
|
||||
});
|
||||
|
||||
// Generate unique random colors
|
||||
// Random Colors
|
||||
var colors = [];
|
||||
sentimentData.forEach(() => {
|
||||
let color;
|
||||
|
@ -101,7 +101,7 @@
|
|||
.attr("fill-opacity", 0.3);
|
||||
});
|
||||
|
||||
// Legend with wrap every 30 entries & hover highlight + tooltip + bring to front
|
||||
// Legend
|
||||
var legend = svg.append("g").attr("transform", "translate(" + (width - 200) + ",50)");
|
||||
sentimentData.forEach((sent, i) => {
|
||||
var col = Math.floor(i/30), row = i%30;
|
||||
|
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 4.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue