Platform
Resources
Pricing
Sign in
Contact us
Jonathan Helfman
Student of math, d3, svg, etc. Prototyper of visualizations for electronics design and test.
Workspace
Fork
Published
D3 Charts
By
Jonathan Helfman
Edited
Dec 31, 2019
Insert cell
Insert cell
Insert cell
circleLegend
(
d3
.
select
(
chart
)
,
[
0
,
100
]
,
[
0
,
40
]
)
.
x
(
width
-
110
)
.
y
(
height
-
50
)
.
values
(
[
10
,
50
,
100
]
)
//.domain([0, 100]) // the values min and max
//.range([0, 40]) // the circle area/size mapping
.
circleColor
(
'#333333'
)
.
textColor
(
'#333333'
)
.
suffix
(
' dBm'
)
.
textPadding
(
50
)
.
render
(
)
Insert cell
circleLegend
(
d3
.
select
(
chart
)
,
[
0
,
1800
]
,
[
1
,
60
]
)
.
x
(
width
-
300
)
//.y(height - margin.bottom - height/6)
.
y
(
height
-
50
)
// d3.extent(csvdata, d => d.Bandwidth)
.
values
(
[
10
,
(
1800
/
2
)
,
1800
]
)
//.domain([-100, 0]) // the values min and max
//.range([0, 40]) // the circle area/size mapping
.
domain
(
[
0
,
1800
]
)
// the values min and max
.
range
(
[
1
,
40
]
)
// the circle area/size mapping
.
circleColor
(
'#333333'
)
.
textColor
(
'#333333'
)
.
suffix
(
' Hz'
)
.
textPadding
(
55
)
.
render
(
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chart
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
margin
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
height
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML