-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Labels
bugSomething isn’t workingSomething isn’t working
Description
The custom delimiter should replace the default delimiter, instead of being appended to it.
Code
data = [
'foo;bar;http://www.example.com',
'foo;bar;https://www.example.com/posts/1',
'foo;baz;https://www.example.com/posts/2',
];
Plot.plot({
axis: null,
height: 100,
margin: 10,
marginLeft: 40,
marginRight: 120,
marks: [Plot.tree(data, { delimiter: ';' })],
});Expected
In Plot.tree, declaring a custom delimiter ; should result in a tree where only ; is used as a delimiter.
Actual
In Plot.tree, declaring a custom delimiter ; results in a tree where both ; and / are used as delimiters.
mbostock
Metadata
Metadata
Assignees
Labels
bugSomething isn’t workingSomething isn’t working