I have to represent a data in C3 bar charts. The problem is the dataset usually contains one or two very large values with the other much smaller values(smaller in comparison). This results in very tall bars next to bars that are almost invisible. I know using scale breaks like this can solve the problem. But i have not found a single example in C3 that even mentions it.
Is there any way to create the scale breaks in C3 charts? If not, are there any alternative open source JS libraries to do it?
How to create scale breaks in c3 charts
877 views Asked by yohannist At
1
There are 1 answers
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in CHARTS
- Having trouble implementing Microsoft Graph Java SDK to list licenses assigned to user
- How can I solve this problem in Geom_line?
- Creating bar chart in FastAPI
- drop down list to decide which range my graph will plot
- Using Chart.js library to draw a Line graph using coingeko api is not working properly
- Working with various timeframe inside script irrespective of timeframe selected in charts
- Looker Studio | pivot chart - sorting by metric and last month
- Visualize product type in Google spreadsheet chart
- Visx Streamgraph Custom Typing
- How to fix node position and increase edge spacing in Pyvis network graph?
- Creating a GUI application for creating graphs
- Assign visually distinct colors to graphs with undirected edges
- How to create a simple "four area graph" in excel or google sheets?
- Add custom layer to v-network-graph (Vue.js)
- Google Charts API How to display bar chart value as Hours:Minutes:Seconds when value is passed in as number of seconds
Related Questions in C3
- Make the y-axis fixed irrespective of the content of the chart
- c3.js - c3 graph that has a tooltip with a c3 graph inside
- c3js : Custom region tooltips, hover effects, etc
- How to remove gaps in C3 timeseries chart?
- Modify Keen.io donut chart using c3.js (Javascript SDK)
- c3js - D3js - Customize labels in a simple bar chart
- c3.js change color pattern after generating chart
- Increase height of group element(<g>) in svg
- angular c3 directive not rendering in phantomjs 1.9.8 during unit test
- c3 js: How can I group by Year on the X-axis labels?
- Stacked bar graph not coming in a proper way
- C3.js - Add right padding to Timeseries charts
- c3.js chart not working properly when used inside jquery tab
- Text inside each bubble in c3js Scatter plot
- Detect Element Load via Controller in Angularjs
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You could transform the values and the scale using a d3 linear scale with split domains.
And then draw the split using multiple grid lines
HTML
Script
You have to use grid lines and not regions because the region layer is below the bars layer (the grid layer is above the bar layer)
CSS
This consists of a (thick) fill line and 2 border lines
You could also style it better using a squiggly pattern or position an HTML element with a squiggly background over it.
Fiddle - http://jsfiddle.net/tdfpj3oc/