Skip to content

should we use d3/src/js ? #2

@EasonPai

Description

@EasonPai

Thanks for your great work, I have a small question. What is the difference to use d3.dart with

this way:
import 'package:d3/d3.dart' as d3;
new d3.Selection("body") ...

or this way:
import 'package:d3/src/js/selection.dart' as d3selection;
d3selection.select("boody") ...

the first one is handy and much dart-alike,
but the second one seems much close to the js syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions