Platform
Resources
Pricing
Sign in
Get started
Jordan Kanter
Workspace
Fork
Public
By
Jordan Kanter
Edited
Aug 17, 2023
1
Insert cell
Insert cell
Mock ROI Vendor Eval Vendors - VendorInfo.csv
Filter
Columns
6
Sort
Slice
Save
Type Table, then Shift-Enter. Ctrl-space for more options.
Insert cell
mockRoiVendorEvalVendorsVendorinfo
Clear All
Swap X/Y
Customize
X
Market Penetration Score
Y
Strength of Offering Score
Color
#4775de
Size
—
Facet X
—
Facet Y
—
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.
Insert cell
mockRoiVendorEvalVendorsVendorinfo
[
0
]
[
"Market Penetration Score"
]
Insert cell
x
=
d3
.
scaleLinear
(
)
.
domain
(
[
0
,
d3
.
max
(
mockRoiVendorEvalVendorsVendorinfo
,
d
=>
d
[
"Market Penetration Score"
]
)
]
)
.
range
(
[
margin
.
left
,
ax_width
-
margin
.
right
]
)
.
interpolate
(
d3
.
interpolateRound
)
Insert cell
y
=
d3
.
scaleLinear
(
)
.
domain
(
[
0
,
d3
.
max
(
mockRoiVendorEvalVendorsVendorinfo
,
d
=>
d
[
"Strength of Offering Score"
]
)
]
)
.
range
(
[
margin
.
top
,
ax_height
-
margin
.
bottom
]
)
.
interpolate
(
d3
.
interpolateRound
)
Insert cell
Insert cell
ax_width
=
640
Insert cell
ax_height
=
202
Insert cell
htl
.
html
`<svg viewBox="0 0 ${
ax_width
} 33" style="max-width: ${
ax_width
}px; font: 10px sans-serif; display: block;">
<rect fill="steelblue" x="${
x
(
0
)
}" width="${
x
(
"Market Penetration Score"
)
-
x
(
0
)
}" height="2"></rect>
<rect fill="white" text-anchor="end" x="${
x
(
"Market Penetration Score"
)
}" dx="-6" dy="21">${
"Market Penetration Score"
}</text>
</svg>`
Insert cell
margin
=
(
{
top
:
20
,
right
:
0
,
bottom
:
0
,
left
:
30
}
)
Insert cell
import
{
Legend
}
from
"@d3/color-legend"
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
mockRoiVendorEvalVendorsVendorinfo
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
File attachments
Mock ROI Vendor Eval Vendors - VendorInfo.csv
CSV
Databases
Filter
Column
Operator
Columns
Sort
Column
Direction
Descending
Ascending
Slice
From
Start
To
End
Add comment
Select
Duplicate
Copy link
Embed
Delete
Cells
mockRoiVendorEvalVendorsVendorinfo
File attachments
Mock ROI Vendor Eval Vendors - VendorInfo.csv
CSV
Customize
Clear
Title
Subtitle
Caption
Height
Width
Auto
Full
Margin
Top
Right
Bottom
Left
Inset
Legend
Auto
None
X label
X scale
Auto
Scale
Auto
linear
log
sqrt
symlog
point
band
X options
Grid
Reverse
Y label
Y scale
Auto
Scale
Auto
linear
log
sqrt
symlog
point
band
Y options
Grid
Reverse
Color scheme
Auto
Color scheme
Auto
Default color schemes
Sequential
Diverging
Cyclical
Categorical
Sequential color schemes
Blues
Greens
Greys
Oranges
Purples
Reds
Turbo
Viridis
Inferno
Magma
Plasma
Cividis
Warm
Cool
BuGn
BuPu
GnBu
OrRd
PuBuGn
PuBu
PuRd
RdPu
YlGnBu
YlGn
YlOrBr
YlOrRd
Diverging color schemes
BrBG
PRGn
PiYG
PuOr
RdBu
RdGy
RdYlBu
RdYlGn
Spectral
Cyclical color schemes
Sinebow
Turbo
Categorical color schemes
Category10
Accent
Dark2
Paired
Pastel1
Pastel2
Set1
Set2
Set3
Tableau10
Color scale
Auto
Scale
Auto
linear
log
sqrt
symlog
categorical
ordinal
Color options
Reverse
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Reducer
—
Auto
—
count
distinct
sum
min
max
mean
median
mode
Field
—
Field
—
Field
—
Mark
Auto
—
bar
dot
line
area
rule
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
x
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
y
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
width
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ax_width
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ax_height
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
margin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML