import * as d3 from ‘d3’; 导入的组件有

    1. export {version} from "./dist/package.js";
    2. export * from "d3-array";
    3. export * from "d3-axis";
    4. export * from "d3-brush";
    5. export * from "d3-chord";
    6. export * from "d3-collection";
    7. export * from "d3-color";
    8. export * from "d3-contour";
    9. export * from "d3-dispatch";
    10. export * from "d3-drag";
    11. export * from "d3-dsv";
    12. export * from "d3-ease";
    13. export * from "d3-fetch";
    14. export * from "d3-force";
    15. export * from "d3-format";
    16. export * from "d3-geo";
    17. export * from "d3-hierarchy";
    18. export * from "d3-interpolate";
    19. export * from "d3-path";
    20. export * from "d3-polygon";
    21. export * from "d3-quadtree";
    22. export * from "d3-random";
    23. export * from "d3-scale";
    24. export * from "d3-scale-chromatic";
    25. export * from "d3-selection";
    26. export * from "d3-shape";
    27. export * from "d3-time";
    28. export * from "d3-time-format";
    29. export * from "d3-timer";
    30. export * from "d3-transition";
    31. export * from "d3-voronoi";
    32. export * from "d3-zoom";