Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

improve log scale buffers #157

@davelandry

Description

@davelandry

GDP per capita axis should not go up to 1M USD (you probably want to go up to 10 or 20% of the highest value. Which should be cutting the y-axis at about 120k
Same for the bottom limit of the y-axis. It should be 80 or 90% of the minimum value.

new d3plus.Plot()
    .data("https://dev.oec.world/api/gdp/eci?Year=2018&x=OEC.ECI&y=NY.GDP.PCAP.KD")
    .y("NY.GDP.PCAP.KD")
    .groupBy("Country ID")
    .yConfig({scale: "log"})
    .x("Trade Value ECI")
    .size("Trade Value")
    .render();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions