Join us. Be you.
// Set up dimensions and margins
var margin = {top: 20, right: 20, bottom: 30, left: 40},
width = 960 - margin.left - margin.right,
height = 800 - margin.top - margin.bottom;
// Create SVG element
var svg = d3.select("#chart").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
// Create a hierarchical layout
var treemap = d3.treemap()
.size([width, height])
.padding(1);
// Create a root node
var root = d3.hierarchy(careerPathData[0]); // Assuming the first level is the root
// Calculate the treemap layout
root.sum(function(d) { return d.experience; }); // Use experience for sizing
treemap(root);
// Create rectangles for each level
var nodes = root.descendants();
svg.selectAll("rect")
.data(nodes)
.enter().append("rect")
.attr("x", function(d) { return d.x0; })
.attr("y", function(d) { return d.y0; })
.attr("width", function(d) { return d.x1 - d.x0; })
.attr("height", function(d) { return d.y1 - d.y0; })
.style("fill", "#ccc"); // Or use a color scale
// Add labels
svg.selectAll("text")
.data(nodes)
.enter().append("text")
.attr("x", function(d) { return d.x0 + 5; })
.attr("y", function(d) { return d.y0 + 20; })
.text(function(d) { return d.data.level; });
// Add tooltips (optional)
// ...
A purpose like ours needs a perspective like yours!
Work at RCS! At the heart of great change is a great human. If you have ideas, innovation, and a passion for making a difference, we want you to be a part of our team. Every day, we work with exceptional people. Together, empowering communities for long-term success.
RCS is committed to enriching its working environment and its culture through the diversity of its volunteers, staff, and management. Individuals with interest and experience in helping establishments set and achieve goals relative to elevating equity, diversity, and inclusion are especially encouraged to apply.
Learn About RCS Benefits & Culture
Learn more about the Ukiah Area
Learn more about the Willits area
Learn more about the Mendocino Coast
Learn more about Humboldt County