score:9
try using a polylinear scale:
yscale = d3.scale.linear().domain([0, 5000, 60000]).range([height, height/2, 0])
the range (0, 5000) and (5000, 60000) will both be given the same amount of space.
Source: stackoverflow.com
Related Query
- d3 unevenly distributed scaling
- Show full SVG with scaling intact
- Scaling d3 v4 map to fit SVG (or at all)
- Scaling an arrowhead on a D3 force layout link marker
- Dimple js plot not scaling correctly in Firefox
- D3 Y Axis Scaling and Path Transition
- Edge does not handle scaling and text-anchor:middle correctly in svg
- scaling d3.js projections
- D3JS scaling and transition performance
- D3 Scaling issue of Graph with appropriate scaling of Scales(Y-axis,X-axis)
- How to zoom in/out d3.time.scale without scaling other shapes bound to timeline
- dc.js geochoropleth map scaling
- d3-annotation + d3-zoom - Zooming without scaling
- Calculating Mercator d3 scaling to match Leaflet zoom level
- trouble with d3.js - scaling a path shape
- D3 radial bar chart adjust radius scaling
- Scaling D3 bar chart to container size
- d3.js Stacked bar chart with Logarithmic Scaling
- Angular - Scaling an inline d3 SVG created in code
- Zooming or scaling with d3.js
- Y-axis getting cut off/not scaling properly on d3 bar chart?
- D3 Logarithmic Scaling
- scaling geo coordinates in D3.js
- Scaling the filling portion of an SVG path
- Scaling d3's histogram x domain causes "Invalid negative value for <rect> attribute" errors
- d3js scaling stroke width
- Rendering GeoJson file in D3 v4 is not scaling properly
- Line graph scaling
- Distributed json loading in force collapsable layout
- d3 v5 use nested values when scaling axis
More Query from same tag
- Drill down capabality in C3.js
- D3: Tumbling dice (unwantedly)
- Draw a braid woven with 3 lines in SVG
- Transition between difference force 'center' in d3 v4
- Tooltip in the network graph is flashing on and off
- How to mask svg image with a rectangle using d3?
- Marimekko Chart: x axis ticks with irregular column width
- Bubble highlight feature in d3js bubble chart
- Changing default chart axis thickness in Billboard.js / D3.js
- D3 node position after transform
- Incorrect Data Structure for Appending Text
- Time Formatting in D3js
- d3-tip npm module not working with browserify
- Transition all div elements with .tween at the same time with d3
- Static Data Architecture for D3 visualization Best Practice
- Extjs D3 Horizontal tree
- specifying javascript OO "this" object from D3 .on function
- Parsing timestamp in d3.js issues
- D3.js how to embed selection into a new element
- How to filter a featurecollection to an object that can be used with path.bounds()
- how to draw a d3 pie chart from a json file
- D3 / Canvas: Axis not displayed
- Issue adding multiple text elements to svg elements
- d3js: how to toggle css class after clicking on anelement
- How do I set custom ticks along the Xaxis in D3? or name the bars in a bar chart?
- Generate a shadow on circle click with D3.js
- How can I change a heatmap from D3 in bicolor heatmap?
- Drawing D3 chart from array of arrays of objects
- D3 force layout: How to index data by its ID instead of its index in "nodes" array
- d3 - how to resize an individual state map drawn from a full US clipPath